Hi all,
I have found a problem setting up exported resources. The problem is
that for every hosts I want to define in its /etc/hosts the primary ip, but
I want to export a secondary ip with the same hostname that will be
collected just by one server. So I defined:
@@host { $::hostname
Hi,
Does exist some way to force a error while applying the catalog? We
need to check some facts vs configuration and force an error if doesnt'
match, so we could have a report from the node in the puppetdb with the
failed state. (we cannot use a compilation/evaluation error because it
doe
Hi,
I have found a problem trying to upgrade a rhel6 package (libcgroup),
the current version installed is:
libcgroup-0.37-7.el6.x86_64
And I want to install this version:
libcgroup-0.37-7.2.el6_4.x86_64
So I created a class that states:
package { 'libcgroup':
It is the default behavior, so if you did not especify otherwise it will run
every 30 minutes.
Regards,
--
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 an email
to puppet-
What about storing the facts in yaml format in the puppetmaster and just doing
a grep there?
--
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 an email
to puppet-users+unsubs
I dont know if this may work, just an idea ( but I think it is really an ugly
idea)
Setup a dummy file for printers.conf anywhere I the filesystem
Make it to notify the exec stop cups( setting refreshonly=true) chain it with
the right file printers.conf and notify from here the cups service.
R
Could be that the ${plist_name} is undef inside the define? You could try
adding a notify inside the define to check which value it has.
Regards,
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving
ive with Puppet open source.
> If you have any documentation for this configuration, Please share me.
> With Regards,
> Krishna.
>
> On Tuesday, 28 January 2014 14:39:30 UTC+5:30, Jose Luis Ledesma wrote:
>>
>> Yes. I recommend the puppetlabs/mcollective module to make t
Yes. I recommend the puppetlabs/mcollective module to make the configuration
easier.
Regards
--
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 an email
to puppet-users+unsub
In fact puppetmaster cannot force a push, but mcollective can force a puppet
run. And that with a file resource would make the job.
Regards,
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emai
Nevermind, it's solved
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https
Is it possible to use the environment variable inside a template?
I use a ENC, and I want to avoid the :
Warning: Local environment: "production" doesn't match server specified
node environment "201401", switching agent to "201401".
So I decided to setup puppet.conf inside one of my classes:
You have to make use of chaining arrows in order to establish a dependency.
http://docs.puppetlabs.com/puppet/3/reference/lang_relationships.html#chaining-arrows
Regards,
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from thi
Hello,
You should look the create_resources:
http://docs.puppetlabs.com/references/latest/function.html#createresources
Regards,
--
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,
Instead of $conf_file you should use $title or $name inside the define
Regards,
--
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 an email
to puppet-users+unsubscr...@google
I think that what you need is a define here.
Regards,
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this di
I don't understand the problem, just use a modulepath without the $environment,
or set a couple of paths this way:
modulepath =
$confdir/environments/common:$confdir/environments/$environment/modules
Regards,
--
You received this message because you are subscribed to the Google Groups
"Puppet
Read about dynamic environments.
Preview: make use of $environment in puppet.conf
Regards,
--
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 an email
to puppet-users+unsubs
You can exec a rpm verify against the package, it should display which files
has changed and then reinstall it to if needed but i think this is not a
"puppet solution"
Another option would be install the rpm in the puppet master, and create a
module that deploy the files of the rpm( so no rpm i
Copied from another thread:
:hierarchy:
...
- "%{environment}/classes/%{calling_class}
Perhaps it is easier that way.
Regards
--
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,
In fact, I think that is easier, with host exported resources.
See:https://groups.google.com/forum/m/#!topic/puppet-users/uAxbiIYH6Q4
--
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
I think this could be accomplished with exported resources, on every node
export a file with his IP, and collect the other ones. Then with a custom
script you could verify if the entry is on the hosts file.
About the offtopic dhcp vs hosts file, most clusters like to have the ips
defined on t
Disclaimer: i dont know if this is posible at all.
Augeas is able to parse XML, perhaps you can modify the php to load a xml, and
use augeas to modify it.
I don't have experience with augeas+XML, so this may be just a nonsense :)
--
You received this message because you are subscribed to the G
Ah! And the directory packages should be called nmap (the same name than the
class, is how autoloader find it)
Regards,
--
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 an e
Hi,
Nmap.pp should be called init.pp
Regards,
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussio
I think it was waiting for a manifest in the standard input
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view th
0 is standard input... Seems that puppet is waiting for some input??? Or did
puppet close fd 0?
Regards
--
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 an email
to puppet-
Could be something about filebucket? Perhaps launching the agent with debug
gives some hint
--
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 an email
to puppet-users+unsubs
I'm not sure, but I remember reading something like:
create_resources(@user, $myusers)
Although I don't really know if this is the best solution for you
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop rec
I think the error is here:
require => Class["ssh:install"]
Should be ssh::install
Regards
--
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 an email
to puppet-users+unsubs
Would be nice to have something like 'initial_password' in the user resource.
Perhaps a solution could be create a custom fact with all the users of the
server, and set an 'if' statement before the user resource.
Hth
--
You received this message because you are subscribed to the Google Groups
It seems that the script when stops kills also himself
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this di
You can use autosign for signing certificates.
Regards,
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this
Remove also /etc/puppet/puppetdb.conf
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the w
True, but with a profiles/roles design + hiera you shouldn't need to
parametrize classes in the LDAP.
Regards,
--
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 an email
to
Puppet loads facts first of all, so custom facts deployed are not there until
next run.
Regards
--
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 an email
to puppet-users+un
Mmm the error is about ssh_package_name, but you have tried the puppet apply
with ssh_service_name. could be this the problem?
--
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, sen
You hace to enable both epel and optional repositories.
Regards,
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To v
Clases WordPress requiere both MySQL and apache, so no resource of WordPress
will be "executed" if any of them fails
--
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 an email
Right! I wrote it from the mobile :s
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the we
There is not after or before when puppet applies a manifest if there are not
dependencies explicitly declared. In the example you have written mysql and
apache will be applied in no particular order between them, but will be
implemented both before any other resource in the WordPress class.
If
Enforcing environment from the master is a must for us, and I don't really see
the point of configuring hiera against LDAP when puppet supports it natively.
Do you know some benefit I'm missing?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
I'm in the process of setting up puppet in my company and I don't like at all
the idea of having some thousand of files for describe the nodes. And, despite
the well known limitations, I like a lot the idea of having an enc like ldap.
Regards,
--
You received this message because you are subs
I'm in the process of setting up puppet in my company and I don't like at all
the idea of having some thousand of files for describe the nodes. And, despite
the well known limitations, I like a lot the idea of having an enc like ldap.
Regards,
--
You received this message because you are subs
The problem about using runall/concurrency is that you cannot know when it will
finish, so setting it on the crontab could be a source of a problems if it has
not yet finished when the next run is schedulee
--
You received this message because you are subscribed to the Google Groups
"Puppet Us
What do you mean by balancing nodes?
--
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 an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the we
Hello,
We have puppet only in the lab's servers, we are planning to deploy to
production in the near future. I found myself thinking about the same
question some time ago.
What we were thinking is, why to run puppet agent on every node? In fact
puppetlabs says about setting the puppet ag
Someone knows how to review stderr/stdout of a mco command?
El viernes, 27 de diciembre de 2013 17:17:08 UTC+1, Jose Luis Ledesma
escribió:
>
> Hi all,
>
>sometimes when I run an mco puppet runonce it fails with the error:
>
> [root@puppet-master clientbucket]# mco puppet r
Hi all,
sometimes when I run an mco puppet runonce it fails with the error:
[root@puppet-master clientbucket]# mco puppet runonce -I client01
* [ > ] 1 / 1
client01 Request Aborted
Puppet command
49 matches
Mail list logo