On 10/07/2014 10:21 PM, Ramin K wrote:
>
> If you're taking feature requests while, it would be awesome if the
> mount resource would allow you to mount without adding a line to fstab
> at all.
Have you tried "ensure => ghost"?
This is off the top of my head, this state may be called something e
I have a esx host installed and a standalone centos server.
what I am trying to do is via foreman
- Setting up the module for centos server
- So that it can install vcsa on my esx server.
I end up getting error as
Info: Applying configuration version '1412754558'
Debug: PuppetX::Puppetlabs::Tra
> The default.yaml is in the gist I supplied. I used the el6 and centos6 64
> from your sample project.
Taking a look again, its even more confusing than that, the platform
name you have used is pointing at one of the very very old AMI's. The
newer ones we actually use are private, but I don't h
I found that many modules are both in puppetlabs and example42 , so what is
the difference between puppetlabs and example42 , and how can I chose which
to use?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and
Ok,
I am newbie to puppet. So be nice. I may ask some stupid questions.
I could not find some similar post so creating new post.
I have not worked on puppet before except of downloading puppet on my linux
machine and playing with some commands just to get feel of it. I do not
work on Linux eit
Any solution here?
I stuck at the same problem. puppet 2.6.18 on SLES 11
even if I remove the "mode" line it gets the same error with 644 instead of
700
I think the message is more about the strange "&" whereever this came from.
Another strange thing: This only happens in one puppet module - th
Ok, the other modules works because they don't create a new file.
If the file on the puppet client exists, (even an empty one) everything
works fine - if you delete it, this error occures.
ensure => present,
and
ensure => file,
makes no difference
--
You received this message because y
Hello Rakesh,
Please post your code that this error comes from.
--
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 vi
On Tuesday, October 7, 2014 11:15:23 AM UTC-5, Paul Chernoch wrote:
>
> I have an EXEC command that has an onlyif condition. When I have my puppet
> service running as the correct user account, all goes well.
> When the puppet agent is running under an inadequately privileged account,
> some op
Hello Paul,
I ran into this very issue recently. This happens because Powershell does not
properly catch error events. If the PS engine is able to run the script engine
while continuing on errors then it will exit with a code of 0. Even if your
script utterly failed to run, if the PS engine doe
I am using the module https://forge.puppetlabs.com/vmware/vcsa
Hv just added the following to the end of init.pp so that I can use this
"define" as a class
class vcsas($user_data) {
create_resources('vcsa',$user_data)
}
>From foreman I am passing the following parameters
demo:
username: roo
On Tuesday, October 7, 2014 9:20:41 AM UTC-5, Grant Schoep wrote:
>
> So I have the following puppet rule. Pasted below. The problem is,
> sometimes, I see it looks like it is running the File before it sets the
> variable $sendmail_file in the case statement above. The reason I believe
> this
On Wednesday, October 8, 2014 1:15:29 AM UTC-5, Krishna Krishna wrote:
>
> Ok,
>
> I am newbie to puppet. So be nice. I may ask some stupid questions.
>
> I could not find some similar post so creating new post.
>
> I have not worked on puppet before except of downloading puppet on my
> linux ma
Greetings,
I don't know why, but I am having a rough time trying to get hiera to
work. It seems to me that all the examples I see online are either absurdly
complex or so stupidly simple that they are absolutely useless. Either way
I have found the documentation for hiera completely lackin
On Tuesday, October 7, 2014 8:18:27 PM UTC-5, liux...@huawei.com wrote:
>
> I found that many modules are both in puppetlabs and example42 , so what
> is the difference between puppetlabs and example42 , and how can I chose
> which to use?
>
Same-named puppetlabs and example42 (and other) modu
On Wed, Oct 8, 2014 at 1:49 AM, Rakesh Kathpal wrote:
> I have a esx host installed and a standalone centos server.
>
> what I am trying to do is via foreman
>
> - Setting up the module for centos server
> - So that it can install vcsa on my esx server.
>
> I end up getting error as
>
> Info: App
Nan.. Thanks a lot for your help.
On Wed, Oct 8, 2014 at 8:08 PM, Nan Liu wrote:
> On Wed, Oct 8, 2014 at 1:49 AM, Rakesh Kathpal wrote:
>
>> I have a esx host installed and a standalone centos server.
>>
>> what I am trying to do is via foreman
>>
>> - Setting up the module for centos server
>
Hey all,
I was able to setup puppetdb on my puppetmaster. I'm very happy I was able
to get that done.
And now that that's working I was hoping to get the puppetboard running.
But here's where I'm at so far:
http://puppetboard.jokefire.com/
I plan to put SSL and some basic auth on there once I
I'm getting the following error when I run this Puppet ssh code on Freebsd.
Note, the code runs fine on Linux. Any ideas?
Debug: Service[params::sshd_service](provider=freebsd): Could not find
params::sshd_service in /etc/rc.d
Debug: Service[params::sshd_service](provider=freebsd): Could not
Hi All,
I am trying to get all the java versions and paths where it is located. I
got all java_paths in a fact called java_path. Now i need those versions in
each custom facts.
I wrote a code but this not executing .
Please help me
*require 'rexml/document'*
*require 'facter'*
*Facter.add("j
Seems like your clientcert is different during the puppet run than the
command line since your explicitly passing in the clientcert. I would
change clientcert in your hiera config to fqdn. You are not guaranteed to
have a client cert, but all hosts will have a fqdn. You can also use the
hie
Thank you very much Felix for you replay.
I got it now , but I have an other question:
I created file findarray.pp with this code inside:
define findarray(
$sitearray = $title,
$siteName
){
notify{"ARRAY DEL SITIO - ${sitearray}":}
}
and call findarray from init.pp, with next code:
Maybe??
service { 'sshd':
ensure=> running,
enable=> true,
subscribe => File['/etc/ssh/sshd_config'],
}
On Wednesday, October 8, 2014 3:38:13 PM UTC-3, MASS wrote:
>
> I'm getting the following error when I run this Puppet ssh code on
> Freebsd. Note, the code ru
*I would probably do something like this where we store all the java
versions in a comma separated string.Although if using facter >= 2.0 you
can probably remove the join statement and store as an array.I also want to
point out that java -version returns about 3 lines of text which may not be
Hi,
I used the same command which you provided me
Here is the code:
Facter.add(:java_versions1) do
setcode do
log = Facter::Util::FileRead.readlines(
'/home/suppalapati/java.txt')
if ! log.nil?
versions = log.collect {|command| `#{command}`}
else
Thank you for your advice. While researching the problem with a colleague,
we discovered the root cause:
TF.EXE HISTORY returns an ERRORLEVEL of 0 (meaning success) in one narrow
case when it should not.
Case 1: Running user is Authorized for TFS, no login credentials on command
line. Success
It appears to be interpreting params::sshd_service as a literal. Have you
tried prefixing it with a $ or fully qualifying it, e.g. $
puppet-ssh::params::sshd_service?
On Wed, Oct 8, 2014 at 3:20 PM, Juan Andres Ramirez
wrote:
> Maybe??
>
> service { 'sshd':
> ensure=> running,
>
[I'm quite new to puppet, so not sure if this is an appropriate question
for this list.]
Hi all,
I'm running Debian wheezy, puppet version 2.7.23. I wanted to have a
look at the corosync module provided by puppetlabs [1].
My code for the test looks quite simple:
class { 'corosync':
enable_secau
Yea looks like the Facter readlines method doesn't exist.
http://ruby-doc.org/core-1.8.7/IO.html#method-c-readlines
You will need to use ruby's readlines and probably clean up the lines as
well with chop.
Revised edition: (untested, and probably full of syntax errors)
Facter.add(:java_version
>
> I was wondering when there will be official centos 7 boxes from puppet
> labs on https://vagrantcloud.com/puppetlabs?
>
> Also it would be nice to have a link on the puppet vagrant cloud homepage
> to what repo these boxes are generated from like the chef project does to
> https://github.co
Hi Spencer
Some people are working around the first issue by doing a:
> if verscmp($::puppetversion, 3.6.0) {
>Package { allow_virtual => true,
> }
>
> You could do that, and possibly a comparison to the rubyversion fact as
> well.
Thats' FANTASTIC!!! I put that in my production environment'
What puppetboard thread?
On Oct 8, 2014 4:34 PM, "Tim Dunphy" wrote:
> Hi Spencer
>
> Some people are working around the first issue by doing a:
>> if verscmp($::puppetversion, 3.6.0) {
>>Package { allow_virtual => true,
>> }
>>
>> You could do that, and possibly a comparison to the rubyversi
Hi Spencer,
Oh I called it "puppetboard unable to reach puppetb" and sent it to the
puppet users group. Any help there would be fantastic!
Thanks!
Tim
On Wed, Oct 8, 2014 at 8:45 PM, Spencer Krum wrote:
> What puppetboard thread?
> On Oct 8, 2014 4:34 PM, "Tim Dunphy" wrote:
>
>> Hi Spencer
Greetings Corey,
Thank you for your advice.
If it was as simple as the clientcert being wrong, then it should have been
hitting the default hiera option, but it wasn't pulling back anything at
all. I honestly don't think it was even looking at hiera as I saw nothing
about it in the logs.
We a
In case anyone else struggles with Hiera and needs a simple example:
https://github.com/cstackpole/SimpleHiera
That is my code so you don't have to try to cut'n'paste out of a forum
post. If I learn anything else useful, I will shove it into the repo too.
~Stack~
--
You received this message b
OK, I am beginning to question either puppet+hiera's reliability or my
sanity...
I have code I am working on. It is existing code in which has a bunch of
variables prime for hiera use. I pull one variable out of the code into
hiera for testing and it works well. Tweak the code and now I am only
Just so that the code is out there and my point made.
$ cat hieradata/hosts/puppet.test.vm.yaml
---
repos::reponetwork: one
repos::testvar: repotestvar
testhiera::test: blah
testhiera::testvar: testhieratestvar
$ cat modules/testhiera/manifests/init.pp
class testhiera ( $testvar = $testhiera::te
Ack! So I put the '$testvar = $repos::testvar' line in the class header for
both the init.pp and the epel.pp (which is a subclass in repos). I removed
it out of epel.pp and the init.pp started to print!!! That makes zero sense
to me! So I removed it and the notify out of init.pp and put them in
38 matches
Mail list logo