> It's understandable if the PuPHPet project does not support hand editing
> its output...
>
If that was the case, Juan wouldn't have told me in
https://github.com/puphpet/puphpet/issues/1352#issuecomment-72649784 that I
need to work with Puppet to do what I want. He seems to be saying that t
Then it has to be a malformed hiera yaml. Thanks for your response Drew.
On Wednesday, February 25, 2015 at 4:52:14 PM UTC-5, Drew wrote:
>
> Puppet does automatic lookups in hiera for data in variables, or you can
> do the call explicitly by calling the 'hiera' funciton. Just because it is
>
I'm hoping to get some insight from you guys. I'm using roles and
profiles in my puppet set up and I'm struggling a little with a particular
role.
I leverage the puppetlabs-tomcat module in my tomcat profile but I find
that I have applications that reside on different tiers and it's not ful
I put a paste out there of a puppet --test --debug run if anyone wants to
have a look-see - http://pastebin.com/X6rpgCgp
On Wednesday, February 25, 2015 at 4:43:18 PM UTC-5, smalderma wrote:
>
> Hi,
>
> I'm working on enabling our environment to support EL7 Linux systems. We
> mostly run Oracle
Puppet does automatic lookups in hiera for data in variables, or you can do
the call explicitly by calling the 'hiera' funciton. Just because it is in
init.pp doesn't make it any different than any other puppet file.
Unless I misunderstand, you would call it like so:
$my_variable = hiera('my_h
Hi,
I'm working on enabling our environment to support EL7 Linux systems. We
mostly run OracleLinux, but also have CentOS and RHEL.
I've got a CentOS 6 PuppetMaster running Foreman 1.7.2, Puppet 3.6.2 (from
puppetlabs repo) doing my provisioning. I have provisioning working for
both Oracle L
I've created a very simple type as follows:
Puppet::Type.newtype(:bannerfile) do
@doc = "Create a text file with banner text"
ensurable
newproperty(:name)do
isnamevar
end
newproperty(:bannertext)do
end
newproperty(:bannertext2)do
end
end
doesn't do anything yet, but it is a s
Hello everyone,
Is it possible to get a hiera response to variable being called from a
module's init.pp file?
--
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 pu
Thank you! That got it. Why it "didn't work" before I'm not sure. On to
my next "dumb question."
On Wed, Feb 25, 2015 at 3:21 PM Peter Bukowinski wrote:
>
> > On Feb 25, 2015, at 3:20 PM, Peter Bukowinski wrote:
> >
> >
> >> On Feb 25, 2015, at 2:26 PM, Peter Berghold
> wrote:
> >>
> >> I h
I've been scratching my head on this for days and I can't figure out my
problem. I'm trying to do the basic design pattern of: package->config
but with the config abstracted into a class since it has a few different
components. I've gone through a few different attempts at this; the
current
> On Feb 25, 2015, at 2:26 PM, Peter Berghold wrote:
>
> I have a situation where there is an uppercase letter in a client's host
> name. When Puppet creates the certificate for the host the resultant name for
> the is in all lower case as I'd expect.
>
> The trouble comes in where I am manag
> On Feb 25, 2015, at 3:20 PM, Peter Bukowinski wrote:
>
>
>> On Feb 25, 2015, at 2:26 PM, Peter Berghold wrote:
>>
>> I have a situation where there is an uppercase letter in a client's host
>> name. When Puppet creates the certificate for the host the resultant name
>> for the is in all l
I have a situation where there is an uppercase letter in a client's host
name. When Puppet creates the certificate for the host the resultant name
for the is in all lower case as I'd expect.
The trouble comes in where I am managing the /etc/puppet/puppet.conf file.
In my template I have
This would be a good guide to start with:
https://docs.puppetlabs.com/guides/install_puppet/install_el.html
On Thu, Feb 19, 2015 at 5:03 PM, Chetan Singh
wrote:
> Hi All,
>
> I am new to this product. Could anyone provide with some guide on how to
> build a puppet in my production environment. I
On 2/25/15 10:56 AM, Martin Alfke wrote:
> The single quotes take the argument as it is.
> In this case you are looking for a line with *xyz*
> Maybe you want to try double quotes.
>
> hth,
>
> Martin
>
> On 25 Feb 2015, at 13:58, Andreas Dvorak wrote:
>
>> Dear all
>>
>> I would like to use t
The single quotes take the argument as it is.
In this case you are looking for a line with *xyz*
Maybe you want to try double quotes.
hth,
Martin
On 25 Feb 2015, at 13:58, Andreas Dvorak wrote:
> Dear all
>
> I would like to use the stdlib Modul with file_line to delete a line that
> matches
Hi there,
Some information is missing, sorry for that, this is the correct yaml:
nodes:
host1:
ip: xxx.xxx.xxx
cdir: bbb.bbb.bbb
interface: aaa
host2:
ip: yyy.yyy.yyy
cdir: bbb.bbb.bbb
interface: aaa
This yaml is declarated on a Foreman, we use Foreman l
More detail is needed to answer the question.
Here are (I hope) some helpful suggestions:
The data you list is a hash.
How does one get the first "element" from a hash ?
In what context are you trying to access the information ? Manifest ?
Template ? No in Puppet at all ?
One thing that c
Hi group,
Im trying to get one element from a yaml structure which come from Foreman,
the yaml is like this:
node:
host1:
ip: xxx.xxx.xxx
host2:
ip: xxx.xxx.xxx
Those parameter are used to in a template:
<%= @nodes[0][name] %> IPaddr2::<%= @nodes[0]['ip'] %>/<%= @nodes[0]['c
Dear all
I would like to use the stdlib Modul with file_line to delete a line that
matches *xyz*.
But the resource
file_line {'delete line':
ensure => absent,
path => '/etc/file',
line => '*xyz*',
}
or
file_line {'delete line':
ensure => absent,
path => '/etc/file',
match =>
Hello,
It seems that you're trying to use Puppet for actions (upgrading packages
not managed by Puppet) instead of state. This is not what Puppet is for.
You might want to setup unattended-upgrades with the proper Allowed-Origins
and let the system upgrade the packages for you.
Cheers,
Raph
21 matches
Mail list logo