sbitio / puppet-ducktape Goto Github PK
View Code? Open in Web Editor NEWHelper module to extend other modules functionality or make them play together
License: MIT License
Helper module to extend other modules functionality or make them play together
License: MIT License
The comparison ($::ec2_ami_id != '')
at
https://github.com/sbitio/puppet-ducktape/blob/master/manifests/sudo/defaults.pp#L8 always evaluates to true
This pattern is duplicated ad nauseum:
$init_system = $::operatingsystem ? {
'Debian' => $::lsbdistcodename ? {
'jessie' => 'sysv',
default => undef,
},
default => undef,
}
Perhaps it is legitimate (I think of a service that has not updated to systemd yet). But it lacks inline documentation.
Also there's a gap in debian/redhat support. Bring up some vagrant boxes and complete the job!
Things like 7f7c164 are unneded
CentOS 7 doesn't create a pidfile for ntp service. sbitio/monit already supports MATCHING.
For CentOS 7, we need this in https://github.com/sbitio/puppet-ducktape/blob/master/manifests/ntp/external/monit.pp
$pidfile = undef
$matching = = '/usr/sbin/ntpd'
A big bunch of lookup_options are WET.
Maybe we can rewrite the file using something like:
deep_merge_w_ko: &DEEP_MERGE_WITH_KNOCKOUT
merge:
strategy: deep
knockout_prefix: --KOP_
lookup_options:
ducktape::apache::confs: *DEEP_MERGE_WITH_KNOCKOUT
ducktape::apache::shield_vhost::port:
merge: unique
ducktape::archive::archives: *DEEP_MERGE_WITH_KNOCKOUT
...
/cc @jonhattan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.