Hey Felix,
Your are a puppet genius ... !!
Added the line "node.environment =
apply_environment" in /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb
and finally 'puppet apply' works :)
*puppet:/etc/puppet/manifests # puppet apply user-absent.ppNotice: Compiled
catalog for puppet in en
On 09/25/2014 04:34 AM, Justin Timberlake wrote:
> Hi Felix,
>
> I'l try to patch it, if you can paste the steps/instructions somewhere.
>
> Thanks
> Justin
Hi,
no need, it's really simple.
1. locate the file `apply.rb` in your installation of Puppet (under
puppet/application/ in a Ruby library
Hi Felix,
I'l try to patch it, if you can paste the steps/instructions somewhere.
Thanks
Justin
On Thu, Sep 25, 2014 at 5:58 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 09/24/2014 08:37 PM, Justin tim wrote:
> > Hello Will/Felix,
> >
> > Both of you were right. I upgraded my
On 09/24/2014 08:37 PM, Justin tim wrote:
> Hello Will/Felix,
>
> Both of you were right. I upgraded my Puppet setup to 3.7.1, but no
> luck :(
>
> Would request you guys to post me the link of puppet-labs repo ( 3.6.x
> ) . Im asking the link from you guys because i'v been racking my
> brains for
Hello Will/Felix,
Both of you were right. I upgraded my Puppet setup to 3.7.1, but no luck :(
Would request you guys to post me the link of puppet-labs repo ( 3.6.x ) .
Im asking the link from you guys because i'v been racking my brains for
days together behind this issue, so just wish to make
On 09/21/2014 05:59 PM, Justin Timberlake wrote:
> puppet:/etc/puppet/manifests # puppet apply -dv user-absent.pp
> Debug: Runtime environment: run_mode=user, ruby_version=1.8.7,
> puppet_version=3.7.0
> Debug: Executing '/usr/bin/env
> PUPPET_DASHBOARD_URL=http://puppet.novell.com:3000
> /usr/s
Hello Felix,
I'l upgrade my Puppet master and client to 3.7.1.
Thanks,
Justin.
On Sun, Sep 21, 2014 at 8:10 PM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 09/21/2014 07:25 PM, Justin Timberlake wrote:
>
> But the strange thing is that when i checked the Puppet webconsole, the
On 09/21/2014 07:25 PM, Justin Timberlake wrote:
> But the strange thing is that when i checked the Puppet webconsole,
> the path shown in the logs is that of the
> environment /i.e /etc/puppet/environments/production/manifests/./
Inconclusive.
I suspect that this may be some compatibility settin
Hello Felix,
Some strange observations :
I tried running 'puppet apply' by giving the path specification of the
dysfunctional manifest and i got through, below is the output
*puppet:~ # puppet apply /etc/puppet/manifests/user-absent.pp*
*Notice: Compiled catalog for puppet in environment product
On 09/21/2014 05:59 PM, Justin Timberlake wrote:
> Hello Felix,
>
> Im using Puppet version 3.7.0
>
> I tried applying the dysfunctional manifest ( this time for a new user
> 'nathan' ). Attached is the debug output.
>
>
> Thanks in Advance
> Justin
Hey,
thanks - should have checked myself before
Hello Felix,
Im using Puppet version 3.7.0
I tried applying the dysfunctional manifest ( this time for a new user
'nathan' ). Attached is the debug output.
Thanks in Advance
Justin
On Sun, Sep 21, 2014 at 2:52 PM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 09/21/2014 04:20 AM,
On 09/21/2014 04:20 AM, Justin tim wrote:
> But when i change the path to
> > /etc/puppet/environments/production/manifests, it runs perfectly.
>
>
> I have set 'environmentpath' in puppet.conf to below
> environmentpath = $confdir/environments
>
> where $confdir ---> /etc/puppet
>
> is there
On 09/20/2014 08:46 PM, Justin tim wrote:
>
> It was a silly mistake that i was doing. I was creating the manifest
> in wrong dir path. My actual environment where puppet would look for
> manifest files is --/etc/puppet/environment/production/manfiest.
Does not compute. Your original post stat
Hi all,
Thanks for all your help and suggestions. The issue got resolved.
It was a silly mistake that i was doing. I was creating the manifest in
wrong dir path. My actual environment where puppet would look for manifest
files is --/etc/puppet/environment/production/manfiest.
And i was pla
On Thursday, September 18, 2014 6:22:22 PM UTC-5, Jürgen Hermann wrote:
>
> The Puppet file you pass to an apply is basically a full site.pp, so try
> adding a "node default {…}" around your resources.
>
> See https://github.com/jhermann/devpi-puppet/blob/master/site.pp#L31 for
> an example.
>
The Puppet file you pass to an apply is basically a full site.pp, so try
adding a "node default {…}" around your resources.
See https://github.com/jhermann/devpi-puppet/blob/master/site.pp#L31 for an
example.
--
You received this message because you are subscribed to the Google Groups
"Pu
Hi Justin,
There is no issue with the syntax and the approach you made to add the user
'kate', it is absolutely right.
You are getting the desired output might be because.
Note: Considering that you are running these commands at the puppet-master
i.e example@puppet-master manifests]# puppet app
17 matches
Mail list logo