But that doesn't address the concern that you can't auto generate
values and store them in Heira, as Arnaud mentioned. Is our
understanding on this flawed? I see a Puppet source on
http://docs.puppetlabs.com/hiera/1/data_sources.html#puppet, but that
just says "Coming soon."
My solution thus far
Hello,
I'm writing to inform you that projects.puppetlabs.com will be undergoing
maintenance this evening from 7PM to 8PM PST. There will be a short period of
downtime as the application is shut down and minor additional functionality is
added. I will send out follow up communication when the m
Hi Richie,
There's a few options available with the Ruby ERB templating in Puppet,
depending on how you want to control the output, these pages are a good
introduction to ERB and Puppet.
http://docs.puppetlabs.com/guides/templating.html
http://docs.puppetlabs.com/learning/templates.html
Her
hi,
Just thinking how i could manage ldap server with puppet, using dynamic
configuration.
I would follow the next step :
In the manifest :
install required packages for ldap server
doing a 'site specific' basic configuration, meaning pushing a custon
/etc//slapd.d
develop some ldap type, to
On Nov 4, 2013, at 1:47 AM, Steven Jonthen wrote:
> Hi guys,
>
> I want the Puppetmaster to be notified if an agent has put new data into the
> PuppetDB, which is installed on the puppetmaster. After each incoming new
> data for PuppetDB I want to execute a command on the Puppetmaster.
>
> Ho
Hi,
I am having some issues with facter on a couple of servers which have a
large number of ip addresses.
Essentially, all my puppet runs time out because facter takes in excess of
25 seconds to populate the facts.
Here is the list of interfaces - pretty much each one has an IP assigned.
inte
puppetdb also expose facts etc. details via api calls too, you might want
to check that out.
take a look at hiera-gpg puppet module to store hiera variables in
encrypted form, it will provide enough security on hiera/git side.
On Mon, Nov 4, 2013 at 7:49 PM, Arnaud Gomes-do-Vale
wrote:
> Chuck
I got it fixed. :)
If anybody is interested, here is the problem/solution.
So it turns out that puppet actually calls "start" init script instead of
restart (even though I've specified "hasrestart=true"). If one of the
instances is still running, start script will say that service is already
r
FIXED :
https://groups.google.com/forum/#!topic/mcollective-users/JBO2BcL8SGA
Il giorno lunedì 28 ottobre 2013 17:11:27 UTC+1, alessandro mazzoli ha
scritto:
>
> Hi all,
> i'm stucked with an error on PE-Mcollective.
> I have a puppetmaster with PE-Console on it, i have an agent node
> connect
Jason,
So when both instances die of this service, puppet does restart it. When
one instance dies, like I said earlier, it gives that message "stopped to
running" and nothing happens.
I've ran debug and in addition to typical stopped to running message, I got
"Unscheduling refresh on Service [
On Monday, November 4, 2013 9:14:02 AM UTC-6, jcbollinger wrote:
>
> resource and class parameter overrides may fail to have the expected
> effect on resources that are guarded by ensure_*() functions
>
>
Sorry, I was a little too brief there. Class parameter overrides don't
work anyway, but w
On Friday, November 1, 2013 4:16:29 PM UTC-5, Tom Noonan wrote:
>
> That looks like a good solution, thanks!
>
>
If by "good" you mean "quick and dirty" then you are right. Relying on
ensure_packages() and especially ensure_resource() may get you in trouble,
however, and at minimum doing so
Dear Rob and Josh,
Indeed it was all about a custom build msi being unable to upgrade himself.
All the packages have the same UpgradeCode, so I will keep investigating.
Thank you both for your time.
Lorenzo
On Thursday, October 31, 2013 5:00:24 AM UTC+1, Josh Cooper wrote:
>
> Hi Lorenzo,
>
>
On Saturday, November 2, 2013 5:03:13 PM UTC-5, ytmp123 wrote:
>
> Hi guys,
>
> I've two questions:
> 1. How can I execute normal Ruby-Code in a Puppet-Template?
>
See any onine docs / tutorials on ERB, though there really isn't much to
it. The docs Jo pointed you to are as good as any, and
Chuck writes:
> I wouldn't put any sensitive information in a fact, unless the only people
> with access to PuppetDB and your Servers are admins who already have access
> to this information. But even then I still wouldn't do it.
That's more or less the conclusion I arrived at, except I can't
Well, yes and no. There's no feature that directly supports "compile
using this git tag/branch/hash", because puppet doesn't "know" about
git, it just operates on a directory (modulepath). What most people do
is check out the git tag/brach/hash to a directory on the puppetmaster,
and use that a
Hi All,
Im new to puppet.I need to automate vm provisioning.so i used node_vmware
to do that.It works fine in commad line.now i need to link that to puppet
dashboard and pass vmname and template as class parameters.
Sample Code:
node_vmware create{ "Test":
#ensure=>present,
I wouldn't put any sensitive information in a fact, unless the only people
with access to PuppetDB and your Servers are admins who already have access
to this information. But even then I still wouldn't do it.
At this time I would say the best route would be something like hiera.
--
You recei
Hi,
Here is my dilemma, have a class that installs an rpm then copies over the
configuration files. Static files are published as files, variable files
are published using templates with variables provided from foreman smart
variable. The binaries being installed can be used to create multipl
Hello,
I have a module for deploying an application which relies on an
(external) MySQL database. Here is a simplified version of the relevant
parts:
class myapp::database {
$db_user = my_db_user
$db_name = my_db_name
# generate_db_passwd is a custom script, basically a wrapper around
Hi guys,
I want the Puppetmaster to be notified if an agent has put new data into
the PuppetDB, which is installed on the puppetmaster. After each incoming
new data for PuppetDB I want to execute a command on the Puppetmaster.
How can I do that?
--
You received this message because you are su
On 11/02/2013 11:52 PM, ytmp123 wrote:
I want to define and call a ruby-method within a Puppet template oder
Puppet manifest
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
22 matches
Mail list logo