I looked into that, but I am not in control of all node definitions across
the system:
"You can optionally combine an ENC with regular node definitions in site.pp.
This works on the “I hope you brought enough for everybody” rule: things
will work correctly if you have an ENC and no node definit
On 17 September 2011 16:42, Sav wrote:
> Is it possible to dynamically edit a node definition? Basically, given a
> node, add or remove from it's node definition on the fly.
>
> Right now, I am doing a find on the /etc/puppet/manifests/nodes directory
> on all ".pp" files, grepping for "node hos
Is it possible to dynamically edit a node definition? Basically, given a
node, add or remove from it's node definition on the fly.
Right now, I am doing a find on the /etc/puppet/manifests/nodes directory on
all ".pp" files, grepping for "node hostname { ", and using a sed command to
edit th
I would like to find out a way... given a host (or node), to
dynamically add or remove from that node's definition. Does anybody
know if this is possible?
I am currently running a find statement in the /etc/puppet/ directory
for all files that end in ".pp", grepping for "node 'hostname' ... {",
a
Hi thanks for your details.
I will update once i test with my repo.
Regards
Chebrian
On Sat, Sep 17, 2011 at 9:13 PM, Sergey Zhuga wrote:
> If 'apt-get update' gives you the warning like "can't find gpg..." or so -
> you couldn't install any packages. Try to sign the repo with gpg-key and
> im
ok, i found out what pastebin is. All on my own!! :-) But puppet agent
--trace doesn't give me very much output. Only:
[root@gmatzpupnode ~]# puppet agent --trace
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:47:in `create_pidfile'
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/util.rb:38:in `
If 'apt-get update' gives you the warning like "can't find gpg..." or so
- you couldn't install any packages. Try to sign the repo with gpg-key
and import the key with 'apt-key add'.
Also you can use Canonical partner repository to install sun-java6-jdk.
Regards.
17.09.2011 18:33, KarthiKeyan
On Sep 17, 3:54 pm, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > A single manifests works fine, but this is not the only module I have
> > where I set permissions using the sysconfig::permissions module.
>
> Ah, now I as I read your problem better: The error indicat
Scott,
Thanks for the reply!! Can you tell me what you mean by "just a
definition"? or point me to a doc?
Thanks a lot!
Guy
On Thu, Sep 15, 2011 at 8:46 PM, Scott Smith wrote:
> Hm, doesn't address your issue but you could probably do thus with just a
> definition instead of writing a new typ
Adrien,
Thanks for the reply. can you tell me what a pastebin is?
Thanks,
Guy
On Thu, Sep 15, 2011 at 6:50 PM, Adrien Thebo wrote:
> Could you provide the output of puppet agent --trace in a pastebin to
> accompany this?
>
> On Thu, Sep 15, 2011 at 1:22 PM, Guy Matz wrote:
>
>> hi! Does anyo
Hi ,
Yes, i am trying to install the packages from my local repo .
Regards
Chebrian
On Sat, Sep 17, 2011 at 9:01 PM, Sergey Zhuga wrote:
> Do you use unsigned repositories?
>
> 17.09.2011 18:07, KarthiKeyan. Kesavan пишет:
>
>> Hi,
>>
>> Not only for jdk i am getting for all the package instal
Do you use unsigned repositories?
17.09.2011 18:07, KarthiKeyan. Kesavan пишет:
Hi,
Not only for jdk i am getting for all the package installation .
_Error status _
E: There are problems and -y was used without --force-yes
Regards
Chebrian
On Sat, Sep 17, 2011 at 8:23 PM, Sergey Zhuga mail
Hi,
Not only for jdk i am getting for all the package installation .
*Error status *
E: There are problems and -y was used without --force-yes
Regards
Chebrian
On Sat, Sep 17, 2011 at 8:23 PM, Sergey Zhuga wrote:
> You should create debconf seeds file before you will install the sun-jdk
> pa
You should create debconf seeds file before you will install the sun-jdk
package, like this:
http://blogs.cae.tntech.edu/mwr/2008/02/05/stupid-puppet-trick-agreeing-to-the-sun-java-license-with-debconf-preseeds-and-puppet/
Regards.
17.09.2011 17:39, CHEBRIAN пишет:
Hi ,
I am trying to instal
Hi ,
I am trying to install jdk thru puppet . i am getting the force-yes
error .
err: /Stage[main]/Apiserver::Java/Package[sun-java6-jdk]/ensure:
change from purged to present failed: Execution of '/usr/bin/apt-get -
q -y -o DPkg::Options::=--force-confold install sun-java6-jdk'
returned 100: Rea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> A single manifests works fine, but this is not the only module I have
> where I set permissions using the sysconfig::permissions module.
Ah, now I as I read your problem better: The error indicates more that
you name two resources with the same name
On Sep 16, 8:55 pm, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > I would reference from back from the sysconfig::permissions module to
> > the ntp module file by specifying
> > name => "/var/lib/ntp"
>
> > Do I need to change all my modules because I used a feature
On Sep 16, 8:55 pm, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > I would reference from back from the sysconfig::permissions module to
> > the ntp module file by specifying
> > name => "/var/lib/ntp"
>
> > Do I need to change all my modules because I used a feature
On 15/09/11 23:06, Nigel Kersten wrote:
> file { "/path/to/my_keytab":
> content => retrieve_keytab_for($certname),
> }
Isn't $certname set by the client? Then a client could "impersonate"
another?
> keytab distribution sucks :(
Yes!
--
You received this message because you are subscribed to
On Fri, Sep 16, 2011 at 6:26 PM, James Turnbull wrote:
> dspruell wrote:
>> Could not find a default provider for user
>
> I'd say this is a variant of http://projects.puppetlabs.com/issues/4963.
>
> A similar fix to the code in that ticket should work.
Seems so, the below patch allows puppet ma
20 matches
Mail list logo