To all,
My ruby is failing me as I try to create a custom provider. I have a custom
provider I am writing that uses the net-ldap gem that will, based on the
custom type create, destroy and modify LDAP entries. What I am struggling
with is the difference between the class level methods: self.ins
I have a strange problem with some of my puppet clients. After a while they
stop reporting in with the master. If i run the puppet agent manually with
command (sudo puppet agent -t) everthings looks fine.
The puppet agent is started at boot by the launch daemon that is described
at puppetlabs.
I have written a small custom function to replace '.' to '_' of all element
of an array and return an converted array.
module Puppet::Parser::Functions
newfunction(:convert_vo, :type => :rvalue, :doc => <<-'ENDOFDOC'
This function takes an array of vo and replace '.' with '_' and return an
conv
Hi
I would like to modify a class variable.
This variable contains a list of packages to install
The goal is to make this list of packages different for each type of os
(case $operatingsystem)
Here uis my code
class pack_utils {
$packages = [
"curl",
"htop",
I have the answer.
I read here :
https://groups.google.com/forum/#!topic/puppet-users/I9Y-p3UY8JE that
variables are immutable
Le mercredi 12 février 2014 14:16:33 UTC+1, CedrX a écrit :
>
> Hi
> I would like to modify a class variable.
> This variable contains a list of packages to install
> T
have a look at hiera ta achieve what you want.
If you have an hierarchy like
"%{::osfamily}"
You can create some yaml files in
etc/puppet/hieradata/RedHat.yaml
---
pack_util::packages:
- curl
- htop
and in
/etc/puppet hieradata/Debian.yaml
---
pack_util::packages:
- curl_
Em quarta-feira, 12 de fevereiro de 2014 11h52min38s UTC-2, CedrX escreveu:
>
> I have the answer.
> I read here :
> https://groups.google.com/forum/#!topic/puppet-users/I9Y-p3UY8JE that
> variables are immutable
>
>
> Le mercredi 12 février 2014 14:16:33 UTC+1, CedrX a écrit :
>>
>> Hi
>> I wo
Em quarta-feira, 12 de fevereiro de 2014 11h21min30s UTC-2, kashif escreveu:
>
> I have written a small custom function to replace '.' to '_' of all
> element of an array and return an converted array.
>
> module Puppet::Parser::Functions
> newfunction(:convert_vo, :type => :rvalue, :doc => <<
On Tuesday, February 11, 2014 6:05:54 PM UTC-6, Joaquin Menchaca wrote:
>
> I was wondering is there is a way to see what puppet things a node
> resource is, such as classes it includes. Somehow in our environment it is
> picking up a class that we did not specify.
>
I could believe that you
Hi Rafael
Yes, I have setup all paths correctly. I have other custom functions which
are working.
Thanks
Kashif
On Wednesday, February 12, 2014 2:15:19 PM UTC, Rafael Cristaldo wrote:
>
>
>
> Em quarta-feira, 12 de fevereiro de 2014 11h21min30s UTC-2, kashif
> escreveu:
>>
>> I have written a
Hi,
Puppet master is 3.0.2
Puppet agent is 3.0.2
OS is RHEL6
Node manifests are flat files under a GIT repo.
Overarching firewall rules are applied by an ssh module from
manifests/init.pp to allow ssh access from management servers, this works
all the time.
Service specific firewall rules are lai
Hi,
I'm using tags in resource defaults to define resource ordering inside a
single class, preventing at the same time dependency cycles with other
classes, like this:
class myname::myclass {
# defaults
User { tag => "this_class" }
File { tag => "this_class" }
Service{ t
Dear all,
ich habe a defined class, that is called two times in on class but only the
first call is executed.
baader::replace {'access notConfigGroup' is done, but not baader::replace
{'com2sec notConfigUser':
And baader::replace {'view all included': is done.
Can somebody please explain the rea
Hi,
the manifest layout sounds sane enough. Is this a passenger setup?
On 02/12/2014 03:56 PM, Chris W wrote:
> Puppet master is 3.0.2
> Puppet agent is 3.0.2I ended up having to do an include of the
> /service/::firewall from the node manifest
So is this working for you now?
If not, I seem to
Hi Moses,
I was able to successfully uninstall the previous versions of gem installed
'puppet'.
i did reinstall with dmg but and still having puppetd exit with a code of 1.
what am i doing wrong?
here is my updated plist and manifest to start launchctl
http://pastebin.com/CX56cucf
http://past
I wanted to remind everyone that we have several open CFPs for
upcoming events, and I would love to see more people submitting talk
proposals for them!
PuppetConf: September 23 - 24 in San Francisco
CFP Deadline: March 18
https://docs.google.com/spreadsheet/viewform?formkey=dEVOeUdUOW9HeHpFekc4eDI
Hi Daniele Sluijters,
I've build some archlinux packages to test this out,
and it works very well on Archlinux.
https://aur.archlinux.org/packages/python2-puppetboard/
https://aur.archlinux.org/packages/python2-pypuppetdb/
Op woensdag 7 augustus 2013 14:47:23 UTC+2 schreef Daniele Sluijters:
>
Hey, I lost this instruction ( was not in the group in august)
Really nice software, being using it for a couple of months, although I
think it lacks some things to be even more useful( at least for me):
- in the main page nodes are in unchanged, changed or error state, would be
nice to have the o
Is there a way to blow away the cache and refresh? We don't use ENC in
this environment, just a simple site.pp, which references nodes.pp.
Segue, what I like about ENC is that you can call your homegrown script,
get a yaml of params, classes for that node. I wish I could get something
simil
Alright, I found the source of my problem, at least I think. The
puppetmaster includes path to modules based on an environment (staging,
production, qa) and a global path shared by all environments. The
deployenv was in both locations, global and the environmental ones. The
module shared by
I have a bunch of windows servers with NewRelic installed on them and I
want to start managing those installs with Puppet. Seemed like the thing
to do would be to have chocolatey uninstall what is there and reinstall
within the framework of chocolatey so that I get addressable version
informat
Thanks for the hack, works like a charm!
--
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 th
Hey all,
I'm getting the following puppet error on only one of my hosts. The rest
are all producing clean puppet runs. Can anyone please clarify for me the
meaning of this error and if it's innocuous or not?
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information fr
Hey all,
I've just got foreman setup today. And I've had to recreate my certs on
the client hosts in order to get that to happen.
However I'm facing an usual issue with my client ssl certs since
installing foreman.
I previously had a puppet server that was working well in my environment.
But
24 matches
Mail list logo