Hello,
I am using option 3 for my infra, but i do include classes to foreman
hostgroups and using data from Hiera. i am trying to use Hiera for my
infrastructure modules and puppet smart classes for my application team's
modules as it has better permission model to control things and users will
Hi DJ,
In general the more Hiera calls you make the slower your manifests will
compile. However, the difference between 1 and 10 is negligible, between 1 and
a 1000 you might loose a few seconds. If you use hiera-gpg it will take a
little longer (hiera-eyaml should be faster), and if you add mo
Woops, an amendment to look up the 'data' parameter of class 'foo' in Hiera:
# hiera -c /etc/puppet/hiera.yaml -y
/var/lib/puppet/yaml/facts/nodename.domain.yaml environment=production foo::data
- Original Message -
From: "Luke Bigum"
To: puppet-users@googlegroups.com
Sent: Thursday, 9
Good morning Puppeters
I have a question regarding Puppetlabs Mysql module. I am trying to create
a DB, however, I am giving the root password but when I run Puppet it is
complaining saying that Access denied for user 'root'@'localhost' (using
password: NO).
My question is that how do I chang
On Wednesday, July 8, 2015 at 10:57:44 AM UTC-5, 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
> guys suggest if you are using thi
On Wednesday, July 8, 2015 at 9:43:01 AM UTC-5, Hiranmoy Khan wrote:
>
> 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.
>
You're not sure about the semantics. Mo
You could use the data in my_host.yaml from multiple profiles/roles as long
as you fullyqualify the data source. But to answer your hiera question, I
do not think you can "include" another yaml file.
-Miguel
On Wednesday, July 8, 2015 at 9:39:10 AM UTC-4, Albert Shih wrote:
>
> Hi,
>
> Very b
On Wednesday, July 8, 2015 at 8:39:10 AM UTC-5, Albert Shih wrote:
>
> 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 ?
>
No, at least not with
Thanks John, Luke for your suggestions.
--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the
are you saying those data is common for all hosts? then may be you can use
common.yaml ?
On Wednesday, 8 July 2015 19:09:10 UTC+5:30, Albert Shih wrote:
>
> Hi,
>
> Very basic question about hiera file.
>
> I've
>
> hieradata/my_host.yaml
>
> I like at the end of my_host.yaml make something
Le 09/07/2015 à 07:37:04-0700, DJ a écrit
> are you saying those data is common for all hosts? then may be you can use
> common.yaml ?
Wellno
I've a puppet master who « manage » almost every my server. But I still get
lots of « thing » not manage by puppet, thing like networking hardware
Hi All,
I am maintaining two Puppet servers. it used to work fine. But suddenly,
the web console stopped user from login.
The error message was "Unexpected response received from Google while
validating credentials."
We use our google accounts to login. Even for the admin user which is not a
Hi,
I have just downloaded the puppetlabs-stdlib forge module, and attempted to
install it on one of my nodes, but I end up with the following errors on
the client:
Error: Could not set 'file' on ensure: Not a directory -
/var/lib/puppet/lib/puppet/parser/functions/ensure_packages.rb20150709-1
Hello,
I'm having some issues after upgrading to Puppet 4.
Basically on a puppet agent run I get this error:
*Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
invalid byte sequence in UTF-8*
I tracked it down, and found this HTTP request to be the cause of it
94 4.641
Hi
Is they are any way to tell puppet agent NOT delete temporary file (like
concat file etc..).
I'm trying to debug some (still) not working module, I see puppet launch
some command on temporary file (and failed), but just after that puppet
agent clean those filesso I can check inside those f
Hi,
The problem is that puppet have no (root) access to mysql database. You
have to fill root_password parameter or /root/.my.cnf.
You're managing local mysql, puppet tries connect to local database (mysql
-h localhost), so user host/permission host will allways be @localhost.
--Tom
On Thu
Hi,
I actually have a PuppetDB 2.2.2 that runs without any problems into a non
standard directories :
/SERVICES/puppetdb/{conf,logs,tmp,var}
I also use a custom script to start/stop PuppetDB.
I extract the command to start puppetdb from the init-script :
/usr/bin/java -Xmx192m -XX:OnOutOfMemo
i did not understand your requirement clearly, if you have puppet agent
running on all maachines then you can use facts to get hardware information
and use that in hieara hierarchy to differentiate things.
Regards,
DJ
--
You received this message because you are subscribed to the Google Groups
Hi Rob,
My bad..Issue with hiera datadir location ownership and permission.
changed to puppet from root ownership. Hiera looks up working fine for
puppet agent now..
Thanks
On Thu, Jul 9, 2015 at 8:08 AM, PAN dheepak kumar
wrote:
> Hi Rob.
> Thanks for the reply.
>
> [root@pupclient2]# facter
Hey Benjamin,
This is a config validation error. You have a "webapps" setting somewhere
in your config directory. That's not a setting PuppetDB will use, and PDB
will fail to start if it's present. Remove that setting and things should
work fine.
Wyatt
On Thursday, July 9, 2015 at 8:50:15 AM
Can you share your PE version? and also the /puppet/puppet.conf file on
your puppet master?
On Friday, June 14, 2013 at 11:17:42 AM UTC-4, Chris Lee wrote:
>
> I forgot to say thank you. The changes below worked perfectly.
>
> At first I tried them just by changing on command line. Using
> --rep
Le 09/07/2015 à 10:55:50-0700, DJ a écrit
> i did not understand your requirement clearly, if you have puppet agent
> running
> on all maachines then you can use facts to get hardware information and use
> that in hieara hierarchy to differentiate things.
No puppet agent didn't work on the netwo
Hello!
Is it possible to force puppet agent to send facts to master (puppetdb)
while it is locked (puppet agent --disable) or run in --noop mode?
The reason to have such feature is pretty simple: having up-to-date node
specs with puppet agent in locked state.
Thanks!
Cheers,
Sergii
--
You re
“puppetlabs-puppetdb” v5.0.0 has been released!
https://github.com/puppetlabs/puppetlabs-puppetdb/blob/5.0.0/CHANGELOG
v5.0.0 - 2015/07/09
This is a major release to provide default support for PuppetDB 3.0.0, so
lots of changes have been introduced. Ensure you read the upgrade guide
provided
PuppetDB 3.0.0 - July 9, 2015
PuppetDB 3.0.0 Downloads
Available in native package format as part of Puppet Collection 1 (PC1).
More information on the PC1 repositories is available here:
http://bit.ly/1HQJDNb
Binary tarball: http://downloads.puppetlabs.com/puppetdb/
S
On 07/07/2015 09:33 PM, Melissa Stone wrote:
>
>
> > ...
> > W: Failed to fetch http://apt.puppetlabs.com/dists/jessie/Release
> > Unable to find expected entry 'PC1/source/Sources' in Release file
> > (Wrong sources.list entry or malformed file)
>
>
> The release package for jessie
On 09/07/15 01:25, jcbollinger wrote:
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 'd
On 09/07/15 02:26, Gerard Kok wrote:
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
s
1. exec { "/home/haas":
#command =>
"/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh stop
resourcemanager",
command => "hadoop fs -mkdir -p /apps/hive/warehouse",
user => haas
}
Note: my site.pp file contain this code. while executing this command
facing validation
29 matches
Mail list logo