similar to: Remounting after changing mount options.

Displaying 20 results from an estimated 10000 matches similar to: "Remounting after changing mount options."

2006 Dec 14
11
Puppet and Cfengine Differences
Hello, I''ve recently begun looking at Puppet as an alternative to Cfengine and I have a couple of questions. 1) Besides the information posted on the Puppet website, are there any critical differences between Puppet and Cfengine? 2) Does Puppet allow for client-specific file text manipulation. For instance, in Cfengine I can add a line of text to a file if the line doesn''t
2007 Feb 06
14
Unless in exec doesn''t seem to be honored on notify.
This was a fun one to track down... I was trying to use the append_if_no_such_line script from the wiki and it was working fine EXCEPT when I threw a notify at it. The notify appears to completely ignore both unless and onlyif within the exec for some reason. If I put the same test in the actual command line, it works fine. Example: unless => "/bin/grep -Fqe ''$line''
2007 Feb 06
31
Removing circular dependant RPM files with Package.
Hello, I just attempted to remove both the ypbind and the yp-tools packages using the package parameter with yum. As it turns out, both of these packages depend on each other. Is there a way of forcing package removal and, if there is not, is there a way of making all packages to be removed be collapsed into the same yum command? Either of these solutions would solve the problem with the
2007 Mar 05
1
How to add a custom function to return something to file => content
I''m having a heck of a time with this. Basically I want to write a custom function that returns a value to the file content type. Ex: file { /blah: content => do_stuff(option) } I looked at the wiki posting but just haven''t been able to figure out how to make this work. The first error that I get when I try to actually use ''return'' is: "return
2007 Apr 18
4
Graceful recovery on bad config
Would it be possible to... ( I suppose that this is an enhancement request )... automatically do the following on a client-side manifest failure: 1. Wipe localconfig.yaml and state.yaml and try again (seems to fix most things for me) 2. Revert to a last known good configuration if all else fails. Thanks, Trevor _______________________________________________ Puppet-users mailing list
2007 Jul 19
5
Perhaps greater integration with RedHat?
https://build-automation.108.redhat.com/ Just a thought that it might get some more press. Trevor
2007 Dec 19
7
Kerberos for authentication?
Greetings! Are there any plans of using Kerberos for authentication in addition to (or in place of) SSL certificates in Puppet? Kerberos provides mutual, cryptographically strong authentication. A number of different services are Kerberos-enabled (SSH, NFSv4 and HTTP are common examples), and thus use the same authentication mechanism system-wide. At our site, almost all services and users are
2007 Mar 07
2
Doing something ''on demand''
What techniques are people using to do particular tasks once in a great while? For example, usually you don''t want to automatically upgrade the kernel until it''s fully tested but, of course one day you will. How do you work through Puppet to perform this activity on an on-demand basis instead of a periodic job. Are you using state files like "if file X exists do Y"
2007 Jan 18
4
File type attribute "type"
I''m having a bit of trouble understanding what to do with the ''type'' attribute of ''file''. I would like to perform different operations on directories vs. files under the same structure, can ''type'' be used for this? Are there any other examples of doing this kind of thing? Thanks, Trevor
2007 Feb 13
2
Scope question
If I do something like the following: class blah { File { mode => 111 } file { "/cheese": } } Will the File override stay within the class or break outside? Also, if I then do: class moo inherits blah { File { owner => bob } file { "/bobsfile": } } What will happen? Thanks, Trevor _______________________________________________ Puppet-users mailing
2007 Feb 27
2
Restricting host access to files
I suppose that this is a question about fileserver.conf but what I''m trying to do is to have something like the following in fileserver.conf: [$hostname] path /var/lib/puppet/files/privatefiles/$hostname.txt allow $hostname Basically, this would allow access to a file named <hostname>.txt for only the host to which it should be delivered. I''m not entirely sure
2007 Jan 24
3
Another ''found a bug'' problem - This time with user purging.
Ok, given the statement on the web page about unlesssystemuser under Resources ( http://reductivelabs.com/projects/puppet/documentation/typedocs.html#resources), I assume that users can be purged. However, when I attempt to do this with resources { user: purge => true, noop => true } and what I get is: err: Found a bug: private method ''split'' called for nil:NilClass.
2012 May 24
9
Announcing Razor
Puppet Labs is really thrilled to announce, in conjunction with EMC, our new open source bare metal provisioning tool: Razor. Razor is next generation provisioning software that handles bare metal hardware and virtual server provisioning with inventory discovery and tagging, rule-based policy management, and extensible broker plugin integration. It integrates closely with Puppet and Facter. The
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time puppetd runs but then reverting to refreshonly => true state for subsequent runs? The basic idea is: file { "/etc/foo": notify => Exec["bar"] } exec { "bar": command => "Do stuff to /etc/foo", refreshonly => true } Should I use a fact that is unset based on a
2007 Jan 23
6
Puppet File checksums directories
I''m not sure if this is the way things are supposed to happen but, when I specify a directory with recursion and md5 checksums, the directory itself is checksummed and assumed to have changed. Of course, if anything in the directory changed, the directory checksum will change. What I would like to do is to manipulate all of the files in a directory, but ignore the directory itself.
2008 Jan 22
12
rollbacks
Has anyone done rollbacks with puppet? The story goes that last night I pushed a change out, which intentionally changed the way certain services where managed. The change involved pushing out a few files, cronjobs, etc., which was okay until it was discovered there was a bug with the service. My configurations are kept in subversion and rolling back to a previous configuration would have
2007 Jul 27
2
Patch to tighten down the permissions and ownership in configuration.rb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Attached is a patch which attempts to enforce ''proper'' permissions of all files controlled directly by the puppet processes. All owners and groups are explicitly set as are all permissions. The idea is that the Puppet process configuration files should be relatively tamper resistant and at least throw a warning that the
2007 Feb 19
2
In Europe for the next week
Hi all, As most probably know by now, I''ll be in London and Brussels for the next week, starting Tuesday (well, I leave Tuesday but don''t arrive until Wednesday). That means I''ll hopefully get to meet more of you (I''m giving talks in London Thursday night and in Brussels, probably on Sunday morning), but it also means I''ll have limited access
2009 Jul 13
7
puppetd no-daemonize
So I have been trying to run puppet once in my kickstart %post scripts but every time it detaches and daemonizes even though I have explicitly stated otherwise. Am I missing something? # rpm -q puppet puppet-0.24.8-1 # /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug debug: Creating default schedules debug: Failed to load library ''shadow'' for feature
2008 Jan 23
7
generate with spaces?
Hi, I''ve been using puppet for about a week and a half now, and it''s definitely making my life a lot easier. I''m using 0.24.1 and I''ve run into a small snag. I''m trying to write some code to make sure user home directories exist for users in LDAP. I''m trying to get their uid, gid and home directory from getent with something like: $uid =