On Thu, 12 Aug 2010, Jean Baptiste FAVRE wrote:
> Hello list,
> I'm planning to deploy and use Puppet at work.
> For this, I've set up a SVN server to keep track of all changes in
> modules & manifests.
>
> Reading documentation to be able to define coding rules, I want to put
> some SVN hooks
On Sun, 2 May 2010, linuxdatacenter wrote:
> Hi,
>
> Just want to know how you use puppet to cover a scenario where you
> have a production and backup datacenter. Both environments should be
> similar but not identical (just a dumb example - your ntp setup is
> probably different in each). I thin
On Fri, 8 Jan 2010, Kenneth Holter wrote:
> Do you mean running puppetmaster on different linux servers? It would
> probably be the best solution, but I do think I prefer running multiple
> puppetmasters on one linux server if possible.. How are other people
> testing new puppetmasters?
>
> On
That should work. However, a more puppetish way of doing it is using a
template to generate ntp.conf. I'm guessing the only difference between
your ntp.conf's is the server setting. Here's how you could do it with a
template:
in site.pp specify ntp servers for each site, e.g.:
case $site {
Use ensure => latest to install the newest version. Use ensure =>
"version", e.g. ensure => "4-7.2", to install a specific version of a
package. See http://reductivelabs.com/trac/puppet/wiki/TypeReference#id374
for details.
-Eric
On Fri, 28 Aug 2009, ELTigre wrote:
>
> I have debian lenny
Facter plugin is one way. An easier way is to install the package with
puppet and have the file require the package.
-Eric
On Tue, 4 Aug 2009, Alexey Wasilyev wrote:
>
> How can I check if some package installed in manifest?
> Only by writing facter plugin?
>
> For example:
>
> if ssh_insta
Just override the parent parameters. undef unsets values.
class samba::cluster inherits samba {
Service["smb"]:
enable => false,
ensure => undef,
}
}
-Eric
On Thu, 30 Jul 2009, josbal wrote:
>
> Hi,
>
> I am trying to work out a way of configuring a service in a parent
> class
Here's how we generate access.conf. We define a type that adds and removes
access.conf entries and use this type in the node that we need a
particular group to be able to login to.
class pam {
$access = "/etc/security/access.conf"
exec {"prep access.conf":
command => "echo - : ALL :