Thanks Ian,
I had tried with and without the context, also tried with set and setm,
tried to include the values first... but nothing worked.
I was about to go insane and through to remove the trailing slash in the
changes...
augeas { 'grub.conf/8250_LAR':
incl => '/etc/grub.co
Hi,
thank for the help.
I have solved the issue with the generate funktion.
$redhatfiles = generate("/bin/bash","-c","/bin/ls
/data/git/${zweig}/modules/networking/files/${::hostname}/network-scripts
2>/dev/null | tr -t '\n' ':'")
$redhat_interfaces = split($redhatfiles, ":")
r
On Tuesday, July 7, 2015 at 8:54:54 AM UTC-5, Christopher Wood wrote:
>
> In your place I would probably use a fact to get the names, see inline.
> Fair warning that I haven't tested any of this. It may even damage your
> server as written!
>
I read the OP as saying that the list of files was
Hi Rob ,
On the puppet agent node, when I try to install ssh packages it is failing
with "Error 400 on SERVER: Evaluation Error: Error while evaluating a
Function Call,
Could not find data item ssh_packages in any Hiera data file" error.
puppet agent -t works fine when modules does not contain
On Tuesday, July 7, 2015 at 8:21:48 PM UTC-5, Mark Kirkwood wrote:
>
> I would like to prevent a service starting until a certain file exists.
> The wrinkle is that the file is not (directly) created by puppet.
>
> I'm thinking that I want to somehow 'declare' the file to puppet without
> *it*
Hi,
Very basic question about hiera file.
I've
hieradata/my_host.yaml
I like at the end of my_host.yaml make something like
include my_host_add.yaml
is it possible ?
The reason is some data is automatically extract from a database, those
data is specific to that host. And because this fi
You could create a custom fact that returns the desired state of the
service, based on the existence of the file, and then use the value of that
fact in the service declaration. For example, like so:
The custom fact:
Facter.add(:state_of_the_service) do
setcode do
File.exists?(the-file) ? "r
Hello,
I am trying to call module A from module B if variable Y is false.
And if module B executed successfully then variable var1 = true.
But not sure about the syntax.
In module B.
if $y {
#do something
}
else {
if Class["::A"] {
$var1 = true
}
else {
$var2= false
}
}
In
Hello,
i was reading this doc
"http://garylarizza.com/blog/2014/10/24/puppet-workflows-4-using-hiera-in-anger";
which says it's not good idea to use Hiera auto binding feature, can you
guys suggest if you are using this feature and you have noticed any
performance issues or any issues related
Sorry correction, it's "Data binding"
On Wednesday, 8 July 2015 21:27:44 UTC+5:30, DJ wrote:
>
> Hello,
>
> i was reading this doc "
> http://garylarizza.com/blog/2014/10/24/puppet-workflows-4-using-hiera-in-anger";
>
> which says it's not good idea to use Hiera auto binding feature, can you
>
On Tue, Jul 7, 2015 at 12:40 AM, Gene Fontanilla
wrote:
> To verify, the file you have located at c:/PreRecap/python-2.7.5.
>
> amd64.msi is actually a downloaded MSI file correct?
>
>
> yes bob you are correct
>
So double click the file, it should come up with an install box. Exit it
without fi
Same error here, when using puppet module saz-ssh v2.8.1.
All my modules are:
# *puppet module lis*t
/etc/puppet/modules
├── puppetlabs-concat (v1.2.3)
├── puppetlabs-ntp (v4.0.0)
├── puppetlabs-stdlib (v4.6.0)
└── saz-ssh (v2.8.1)
Some facts from my fresh installation:
# *facter os puppetversi
On Wed, Jul 8, 2015 at 3:07 AM, PAN wrote:
> Hi Rob ,
>
> On the puppet agent node, when I try to install ssh packages it is failing
> with "Error 400 on SERVER: Evaluation Error: Error while evaluating a
> Function Call,
> Could not find data item ssh_packages in any Hiera data file" error.
> pu
On Mon, Jul 6, 2015 at 3:02 PM, Rob Reynolds wrote:
>
>
> On Fri, Jun 19, 2015 at 3:43 AM, Helen Paterson
> wrote:
>
>> Hi,
>>
>> I'm trying to set-up puppet environment so that our ymal files can
>> usernames and passwords for Production and test ( dq), modules will be the
>> same. I have run t
Hi Rob.
Thanks for the reply.
[root@pupclient2]# facter osfamily
RedHat
[root@pupclient2]# facter operatingsystem
OracleLinux
[root@pupclient2]#
[root@pupmaster]# facter osfamily
RedHat
[root@pupmaster]# facter operatingsystem
OracleLinux
[root@pupmaster]#
Both Master and client are running
El 08/07/15 a las 17:57, DJ escribió:
Hello,
i was reading this doc
"http://garylarizza.com/blog/2014/10/24/puppet-workflows-4-using-hiera-in-anger";
which says it's not good idea to use Hiera auto binding feature, can you
guys suggest if you are using this feature and you have noticed any
perfo
16 matches
Mail list logo