search for: parsedfil

Displaying 16 results from an estimated 16 matches for "parsedfil".

Did you mean: parsedfile
2008 Nov 10
4
Weird custom type behaviour
Hey, I have a very trivial parsedfile based type - http://pastie.org/311146 - that works fine when deployed and run under puppetd -t. However, when being run by the daemonized puppet, it results in this error: Mon Nov 10 03:50:48 +0000 2008 //Node[ams-proxy-2]/quagga/Quagga::Daemon[zebra]/Quagga_service[zebra] (err): Failed to retrie...
2010 Feb 18
7
Augeas pam.d argument checking
I''m trying to change the password complexity requirements in pam.d/system-auth using augeas. I can append the values (lcredit=-1, ucredit=-1, etc) onto the correct place, but if another value is already present (i.e. lcredit=-2), the onlyif match statement doesn''t seem to support checking regular expressions inside of strings. How do I check that any numeric value exists in the
2010 Jul 16
5
2.6.0rc3 ssh_authorized_users/parsed.rb
....rb:382:in `cp'' /usr/lib/ruby/site_ruby/1.8/puppet/util/filetype.rb:109:in `write'' /usr/lib/ruby/site_ruby/1.8/puppet/util/filetype.rb:56:in `real_write'' /usr/lib/ruby/site_ruby/1.8/puppet/util/filetype.rb:56:in `write'' /usr/lib/ruby/site_ruby/1.8/puppet/provider/parsedfile.rb:95:in `flush_target'' /usr/lib/ruby/site_ruby/1.8/puppet/provider/parsedfile.rb:69:in `flush'' /usr/lib/ruby/site_ruby/1.8/puppet/provider/parsedfile.rb:67:in `each'' /usr/lib/ruby/site_ruby/1.8/puppet/provider/parsedfile.rb:67:in `flush'' /usr/lib/ruby/site_ruby...
2007 Jan 17
16
Cron jobs not removed when deleted from Manifest
I''m not sure if this has been posted previously, but I couldn''t find any information on it. I added a cron job via the cron type and it installed properly. Next, I removed the cron type from the manifest. The result was that, while the entry was no longer in the yaml file, the cron entry was not removed! Is this a bug, or the way that it is supposed to function? Thank you,
2007 Jul 16
3
learning the cron module
OK. I thought I would start by looking at how cron.rb in the puppet lib/type works because what I''m trying to accomplish is similar. However, when looking through that, it wasn''t immediately obvious to me how or when the resulting cron file was getting written out. Is this getting stored up in some instance var or something? Maybe getting sent to standard out and some
2007 Apr 12
5
Suse documentation
Hi, I''ve writen a draft describing puppet on SuSE/opensuse linux. http://www.reductivelabs.com/trac/puppet/wiki/PuppetSuSE Any feedback is welcome. Martin
2008 Oct 11
6
Force backup of files modified outside of puppet's File Type
I''m using the SimpleText recipe and Augeas plugin to modify files in place. I''d like to notify the appropriate File resource that a modification is about to take place so puppet can backup the file. Maybe this is already possible but I haven''t found any examples or documentation on how to accomplish this. I think a natural way to do this would be to use the subscribe
2012 May 04
16
forcing user resource provider to be local files only?
I see that there are an assorted bunch of "provider" types for resource type user. Are there not any "local file" providers for it? I have need of ensuring that certain local user accounts get created on all machines, reguardless of what the system "/bin/password" and "useradd" type mechanisms are set to. It would be really nice to find a pre-written
2006 Nov 13
4
ANNOUNCE: 0.20.1
The latest release is finally out; here is the changelog: Mostly a bug-fix release, with the most important fix being the multiple-definition error. Completely rewrote the ParsedFile system; each provider is now much shorter and much more maintainable. However, fundamental problems were found with the ''port'' type, so it was disabled. Also, added a NetInfo provider for ''host'' and an experimental NetInfo provider for '...
2012 Aug 28
4
using puppet augeas to add entry in /etc/syslog.conf
Hi , I"m trying to add a entry in /etc/syslog.conf using puppet augeas like this " *.warning;mail.none;authpriv.none;cron.none @syslog_host" , seems the way to do this with augeas is : augeas { "syslog_conf": lens => "syslog.lns", incl => "/etc/syslog.conf",
2007 Oct 16
4
Useradd & NIS issue if the user exist
Hi, I have a class to add users to all the host servers. We are in the process to have a coexisting user which belongs in NIS & as well as /etc/passwd. We have NIS clients (yp running) on all host servers. So when running puppet is fails to add or modify user, bcos the user already exists in NIS. Eg: A user pcruise is an existing NIS user. When using useradd or
2007 Jun 11
1
Thoughts on arrays and generic functions
Working more on my cluster class, I can see other things coming up. I''ve ended up creating custom functions to perform basic array-handling tasks (like ''join'' and extracting a single element). I''ve also had to create a template for /etc/hosts because I can''t use the ''host'' type and iterate over an array. I know Puppet is trying very
2007 Dec 01
6
Building files from snippets
Hi there, I''m facing a problem that I think it''s common enough to be solved directly by puppet or at least have a best practice recommended: building a config file from snippets. I''m thinking for example about a dns zone and hosts inside that zone, ldap server and ldap databases, samba server and samba shares, a firewall config and firewall rules,... The first part of
2006 Dec 01
1
Packages build for Solaris ? As CSW packages ?
...y/site_ruby/1.8/puppet/provider/package/sun.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/package/sunfreeware.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/package/up2date.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/parsedfile.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/port ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/port/parsed.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/service ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/service/base.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/provider/servic...
2007 Jun 04
16
Puppet installation and observations
Greeting Puppeteers, ( I sent this from the wrong address so it may be a duplicate post after moderation ) I recently discovered puppet from the debian administration site and thought I might install it after BASHING my head against cfengine the last 3 times I tried to install it. I installed puppetmaster on my primary server and dropped puppet on a couple of xen virtuals. It worked
2007 Aug 23
24
Type development for the rest of us
Since I had my type development epiphany a couple of days ago, I''ve decided to write down my understanding of developing simple types, at http://reductivelabs.com/trac/puppet/wiki/PracticalTypes. I''d appreciate comments from people who already know how to develop types as to correctness, and also comments from people who are new to type development about whether it''s a