Can you install the rpm with yum without puppet? Maybe the rpm you are
installing is doing something to cause a deadlock like executing "rpm -i
some-package" or "yum install blah-blah" in the %post section of the rpm's
spec file.
On Thu, Dec 19, 2013 at 12:54 PM, Alexander Petrovsky wrote:
> Hi!
Should the notify on the file resource "notify" and Exec that does "service
pdns-recursor restart"
...
notify => Exec['restart']
...
Exec { 'restart':
command => '/sbin/service pdns-recursor restart'
}
something like that maybe?
On Sat, Feb 22, 2014 at 7:50 PM, Dan White wrote:
> The "no
Hi,
Hi,
I am trying out the PE 3.7 Rest API and I am unfamiliar with curl. I think
I need to execute this ...
# /usr/bin/curl -v -X GET \
> --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \
> --cert /etc/puppetlabs/puppet/ssl/certs/puppetmaster-1.example.com.pem \
> --key
/etc/puppetlabs/puppet
I guess I really don't need to list the nodes. I just wanted to try out
the PE3.7 rest api. What I really need to be able to do is add
nodegroups. I had been using the console rake api for this, but the
console rake api is to be depreciated. I put the details of what I have
tried, and what goes
Yep. Thanks all!
On Mon, Dec 22, 2014 at 1:59 PM, Eric Sorenson wrote:
> Looks like you got some good responses on your Ask question... All good
> now?
>
>
> On Tuesday, December 16, 2014 3:22:26 PM UTC-8, red wrote:
>>
>> I guess I really don't need to list the nodes. I just wanted to try out
Here is what I am doing ...
[root@mgmt-el7-002 ~]# puppet -V
3.6.2 (Puppet Enterprise 3.3.2)
[root@mgmt-el7-002 ~]# cat kernel_upgrade.pp
package {'kernel-3.10.0-123.20.1.el7':
ensure => present,
allow_virtual => false,
Hi,
I use to keep all my class parameters in the default hiera data file,
/var/lib/hiera/defaults.yaml, but now I need to maintain another set of
nodes that would need to use different values for the class parameters in
the defaults.yaml.
I figured, no bug deal, just add the FACTER_something_or_o
I thought I was doing those things. I set up a FACTER_ env var on one of
my nodes to test like so ...
[root@vii-osc4-mgmt-001 ~]# cat /etc/profile.d/POD_prefix.sh export
FACTER_pod_prefix=vii-osc4
I rebooted the node, vii-osc4-mgmt-001, and checked that env. var is being
set (maybe it's not)
[r
I am probably confused when it comes RHEL7. But systemd comes into play
here only when I restart my puppet master with "# systemctl restart
pe-httpd" right? I thought I had confirmed that fact pod_prefix is getting
set on the node when I execute:
[root@vii-osc4-mgmt-001 ~]# facter pod_prefix
vii-
ah you mentioned it already ... fact.d
On Tue, Jul 21, 2015 at 11:03 AM, Russell Cecala wrote:
> I am probably confused when it comes RHEL7. But systemd comes into play
> here only when I restart my puppet master with "# systemctl restart
> pe-httpd" right? I thought I had
Gotcha! Thanks
On Tue, Jul 21, 2015 at 11:33 AM, Thomas Müller
wrote:
>
>
>
> Are you saying that my test is no good because it is using the environment
>> from the shell?
>>
> yes systemd does not send provide /etc/profile.d environment to its
> services.
>
> just don't use FACTER_ env variabl
ve pod_prefix
set to 'ix-xyz' will get their class parameters from from
/var/lib/hiera/ix-xyz.yaml ... I do not see how putting this file ...
# pwd
/etc/facter/facts.d
# cat pod_prefix.txt
pod_prefix=vii-osc4
... on my puppet master will achieve this.
On Tue, Jul 21, 2015 at 11:57 AM,
Doh! The /etc/facter/facts.d/pod_prefix.txt file goes on the nodes NOT the
puppet master. And it works!
On Tue, Jul 21, 2015 at 1:10 PM, Russell Cecala
wrote:
> OK I tried looking into the facter-dot-d way of setting a custom fact, but
> it does not seem suitable for what I am trying
You might need a comma after 'obscured_because_security' :)
On Thu, Sep 24, 2015 at 3:40 PM, Sean McKinley
wrote:
> We recently upgraded to PE2015, and as such have upgraded our local puppet
> gems to match (4.2.2). Unfortunately a few of our specs that were
> previously passing are now failing,
I asked almost the same question on ask puppet
https://ask.puppetlabs.com/question/1295/getting-hiera-data-into-my-erb-template/
On Sun, Oct 11, 2015 at 10:37 AM, Vikas Kumar wrote:
> Hello Everyone,
>
> I have a YAML file which I am using to generate facts for one of my puppet
> agents.
>
> #
What's up with []'s? That doesn't look right to me. Just put your fact.
On Sun, Oct 11, 2015 at 5:54 PM, Vikas Kumar wrote:
> Hi Red,
>
> I did tried that, but it is not working for me.
>
> <%= hostname[interfaces_ipv4][eth0][bootproto] %>
>
> or even
> <%= os[release][major] %>
> Regards,
> Vi
See Russell Miller's email. :)
On Sun, Oct 11, 2015 at 6:43 PM, Russell Cecala
wrote:
> What's up with []'s? That doesn't look right to me. Just put your fact.
>
>
> On Sun, Oct 11, 2015 at 5:54 PM, Vikas Kumar wrote:
>
>> Hi Red,
>>
&g
17 matches
Mail list logo