Take a look at razor
https://puppetlabs.com/solutions/next-generation-provisioning
https://github.com/puppetlabs/razor
http://www.slideshare.net/PuppetLabs/puppetandrazor
http://www.slideshare.net/PuppetLabs/razor-puppet
Steven
Subject: Re: [Puppet Users] Re: Is it possible to install actual OS
I don't know about the module you are using but things to verify:
/etc/sudoers contains an include for /etc/sudoers.d
Check that the version of sudo is new enough to support this. You may need to
upgrade it. I had to on a number of my Redhat 5 servers
Steven
Date: Thu, 12 Sep 2013 15:01:30
Puppet only knows about what it is managing or auditing. So, it will always be
limited by what it is told to look at. While you might be able to do something
using the audit feature, I would not recommend it. As it will never be complete
for your purpose.
I'd recommend looking at blueprint.
Found the other one. It is pysa
Links for both:
Blueprinthttps://github.com/devstructure/blueprinthttp://devstructure.com/blueprint/
Pysahttp://pypi.python.org/pypi/Pysahttp://github.com/MadeiraCloud/pysa
Steven
From: snem...@hotmail.com
To: puppet-users@googlegroups.com
Subject: RE: [Puppet
Just use the RedHat packages
We use the same packages for RedHat, CentOS, and Oracle EL
Some modules need to get slightly modified to recognize Oracle EL
Steven
Subject: [Puppet Users] puppet client
From: smcracr...@me.com
Date: Wed, 28 Aug 2013 10:02:48 -0700
To:
You could try the newer module designed to do the same thing.
It was written as a puppet face about 6 months ago
https://github.com/dalen/puppetls
Steven
Date: Fri, 23 Aug 2013 01:42:11 -0700
From: andreas.dvo...@googlemail.com
To: puppet-users@googlegroups.com
Subject: [Puppet Users] puppet-ls
Catalog generation took too long. Could be the puppet master is overloaded are
just the puppet module code used. You can increase the timeout on the agents.
On the agent in puppet.conf under the agent section add
configtimeout = 900
The number is in seconds. Set it to whatever you're
Every time that I've received this error, it was because 2 different hosts had
the same cert name.
In my case a problem caused by system cloning or a system template that
contained a cert name.
Hope that helps,
Steven
Date: Tue, 11 Jun 2013 08:17:42 +0100
Subject: Re: [Puppet Users] Re:
I see this all the time. It happens due to lacks in the ssh_authorized_key type
and the error message isn't very helpful.
If the type sees something that it doesn't understand in the file this will
happen, also when it runs into things that it does not support. I had a user
change from dsa to
This is an OS privilege issue. So puppet has to working within what can be done
on the OS.
By default mount requires root privileges to make changes. This is why it will
work as root but not as puppet.
So you either run as root or set it up so a non-root user can mount
Some OS's have options to
exec has been used to do this since puppet's early days. You can use your
choice of systems tools (sed, perl, ...)
Then put it into a define, so it can be called on many different file and
multiple times
Some examples:
http://projects.puppetlabs.com/projects/1/wiki/simple_text_patterns
Ideally, use packages instead.
But if that is not possible. Put the tarballs on a web server and have the
agents pull the files from there. It will be much faster than puppet
distributing the files and they will not be in the codebase.
On my repo server, I have a directory for tarballs for
This is the fact that I use Facter.add(java_version) do
setcode do
`/usr/bin/java -version 21`.split(\n)[0].split('')[1]
end
end
Steven Date: Thu, 21 Feb 2013 22:50:24 +
From: y...@comcast.net
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Using Facter
We have seperate repos in git for every puppet module. Each module has a
Jenkins job to auto test it and if it passes updates the super repo (Main repo
with all the module repos in use as submodules). This allows all management of
each module (rights, testing, etc) to be independent of all
I'm not noticing the problem, but maybe it would help to see some other code.
I just uploaded my mounts module to github. It has one place that uses a
function from Example42, but that can be replaced with a normal hiera call.
https://github.com/snemetz/Puppet_mounts
I have a few modules that
keys comes form the PuppetLab's stdlib moduleSo does is_array and a bunch of
other nice functions
Steven
Date: Tue, 5 Feb 2013 07:12:45 -0800
From: rai...@gmail.com
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] hiera query yaml parameters
Steven, thanks for your reply! You
You can read the hash directly, create_resource is not needed (may or may not
be desired)
$user_defs = hiera('os_users') will give you the full hash
What I tend to do for this type of data structure is:
$user_defs = hiera('os_users')
$user_keys = keys($user_defs)
if is_array($user_keys) {
I'm using stdlib to help with this $listeners = hiera('haproxy_listeners',
undef)$listener_keys = keys($listeners) then pass $listener_keys to a define to
create all the instances
The entre hash is in memory ($listeners) and the define will have the key it is
working on ($name)So you can
The error say that on line 8 of file /etc/yum.repos.d/puppet.repo there is
something that it cannot interpret. Usually some type of syntax error, but it
could be something else.
Your first step is to look at that file on the host that is getting the error
and see what is there. If it is not
If it is happening every time, it is usually an issue with init script. Puppet
is not understanding the output of the init script, so it is not saving the
correct state.Run the init script manually and see what it is returning. If it
is not obvious, run puppet with --debug and see the exact
Change your yaml file to: files: - a - b - c Then puppet will read it in as
an array. Pass the array to a define and the define will run once for each
element of the array
Steven
Date: Sat, 17 Nov 2012 03:27:20 +0100
From: jso...@srce.hr
To: puppet-users@googlegroups.com
Subject:
Not sure if puppet will let you access regex without being in some type of test.
Also, just habit. I'm usually doing some validation in the regex.
In this case, I've moved validation to after this and have it validate against
data in hiera. Hiera has a list of the valid data center codes.
You can use regex for that Here is an piece of my code for doing that. In my
case [environment, 1 letter][collo, 2 letters] if $hostname =~ /^(.)(..)/ {
$global_env = $1
$location = $2
}
Steven
Date: Wed, 24 Oct 2012 07:14:50 -0700
From: paolo.sup...@gmail.com
To:
The centrify script may be thousands of lines, but it doesn't do that much. A
lot of it is for user interaction and multiple OS stuff. At my last company we
used centrify for authentication. It was less then a dozen commands to setup. A
bit longer than that once put into puppet.
If you really
Take a look at Example42's Next Gen modules on github. They all do what you're
asking about and a bit more
There is a routine defined within the puppi module, that the rest of the
modules use to lookup variable values. Defaults are assigned in params.pp which
the main class inherits and they
This is normal.
New system will always generate a new cert.
You only need to delete /var/lib/puppet/ssl on the client and remove the cert
on the master puppet cert clean cert
There has been some discussions on ways to automate this. Should be able to
find them in the archives.
Steven
Date:
Generally puppet doesn't detect new systems as such. The new systems tell the
puppet server about themselves.
The way this is handled is your base instance install would include puppet. So,
as the system boots up puppet would be running. The puppet agent will contact
the master. The master
If you have dependencies set for a chain of events and it fails part
way, that is how the system is left. Everything that succeeded before
the failure with stay there and nothing in the dependence chain after
the failure will have been done. Every run of puppet after this, it will
keep trying to
Thanks.
This is a great idea and starting point for me to get this information
added into our inventory for auto provisioning.
Steven
-Original Message-
From: puppet-users@googlegroups.com
[mailto:puppet-us...@googlegroups.com]
On Behalf Of Joel Krauska
Sent: Wednesday, April 22,
-
From: puppet-users@googlegroups.com
[mailto:puppet-us...@googlegroups.com]
On Behalf Of Todd Zullinger
Sent: Thursday, February 26, 2009 5:18 PM
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Re: Package rpm parameters
Steven Nemetz wrote:
Is there a way to pass parameters to rpm
Is there a way to pass parameters to rpm with the package type?
I have some rpms that need to be installed with --nodeps
Thanks,
Steven
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post
-Original Message-
What about if you run Facter with --puppet, making sure it loads your
custom facts?
--
Due to circumstances beyond your control, you are master of your fate
and captain of your soul.
-
All my puppet clients were running ok.
Then 2 things happened yesterday:
1) I had puppet upgrade facter to 1.5.3 everywhere. Most were
running 1.3.8 prior.
2) We had network problem, causing one of our datacenters to go
offline
The network problems have been fixed and was not
I set the interval using both the config file and the command line.
Works fine. I believe I did this originally because the config file
alone did not work. But that was in 0.23. I haven't retested in later
versions, since everything is working.
Steven
-Original Message-
From:
34 matches
Mail list logo