rendh...@gmail.com
javascript: wrote:
On 10 July 2014 09:18, Kim Scarborough cho...@gmail.com javascript:
wrote:
My Augeas approach works, I'm just having the one problem where I
can't
get
it to apply to more than one mount line per run.
It might work but it is probably better
No, you cannot do that via Mount resources. Instead, the idiomatic
approach here would be to put each mount for each server under individual
Puppet management. If you wished, you could also use the Resources
resource to purge Mounts that Puppet is not otherwise managing, so that you
My Augeas approach works, I'm just having the one problem where I can't
get
it to apply to more than one mount line per run.
It might work but it is probably better to manage the whole mount with
puppet.
I have hundreds of servers, many with several NFS mounts, and neither the
the builtin mount type?
I believe it can do everything you require.
http://docs.puppetlabs.com/references/stable/type.html#mount
On 8 July 2014 04:42, Kim Scarborough cho...@gmail.com javascript:
wrote:
I'm trying to get Puppet to add nosuid to all my nfs or nfs4 mount
entries
I'm trying to get Puppet to add nosuid to all my nfs or nfs4 mount
entries in /etc/fstab. I'm currently using this:
augeas { fstab-nosuid:
context = /files/etc/fstab/*[vfstype = 'nfs' or vfstype =
'nfs4'][count(opt[. = 'nosuid']) = 0],
changes = [
So I have a bunch of linux servers in different groups. Each server's group
is defined as a custom fact. I want to set an array variable based on the
server's group membership, so I have code like this:
case $servergroup {
MAMMAL: { $foo = ['horse', 'cow', 'dog'] }
REPTILE: { $foo =
On Friday, February 21, 2014 7:09:43 PM UTC-6, Trammael wrote:
Check out how classifying your data using Hiera can resolve and simplify
this:
http://docs.puppetlabs.com/hiera/1/index.html#why-hiera
Wow, that's hard to understand (at least for me). Will that still work with
an array in a
So I have a module that set several packages to purged. This generates
messages like this in the log on every run:
puppet-agent[27671]: (/Stage[main]/Foo/Package[ghostscript]/ensure) created
That doesn't bother me in and of itself, but the problem is that those
messages mark the server as