Not an explanation off the top of my hat, but seeing as none of this is
supposed to happen, let's start at the base. What version of Linux and
which vserver patch are you running?
On 04/29/2014 09:53 PM, Ádám Sándor wrote:
>
> If someone can give an explanation I would be very happy to read it.
I never got a response. Looked like a configuration issue to me, but
there was no follow up.
I'd suggest starting a new thread with more details about your issue,
versions/error messages/configuration files etc.
ken.
On Tue, Apr 29, 2014 at 10:55 PM, Michael Eatherly
wrote:
> I'm having this is
Hi guys i am new to puppet and Fresher . I analysed the puppet and when i
want to start installing the puppet on windows.I find very difficult to
install and configure on windows. I have to connect the master and agent .
Can you provide me with the simple tutorial or blog where can i learn the
Hi all,
I spotted a behaviour that I can't really understand (pupept 3.4.3).
Basicaly I have a setup with two masters balanced via apache reverse proxy.
On clients every time the agent is run a facts.yaml is updated, to be used
by mcollective.
running puppet agent with -t i can see that sometimes
Hello,
I just updated my puppet to v3.5.1 and now I got an error when I run my
puppet agent:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Error from DataBinding 'hiera' while looking up 'jboss::jbossversion':
uninitialized constant Puppet::FileSystem::File on node
So I guess no-one knows how to achieve this?
On Tuesday, 29 April 2014 13:26:20 UTC+1, KomodoDave wrote:
>
> Hi all,
>
> I wrote a neat little script for Puppet 2.x to test custom functions
> without needing to do a Puppet run. This involved creating a Scope object
> using `Puppet::Parser::Scop
Have you reviewed the minimum system requirements?
http://docs.puppetlabs.com/puppet/latest/reference/system_requirements.html
Regards,
El 30/04/2014 15:13, "Pierre-Emmanuel Dutang" escribió:
> Hello,
>
> I just updated my puppet to v3.5.1 and now I got an error when I run my
> puppet agent:
>
Hi,
the PuppetLabs documentation is the best resource, though. If this won't
help you up to speed, I doubt you will find an online tutorial that will
do a better job of that. You may want to purchase training directly from
PuppetLabs then.
I recommend giving the tutorials another try.
For the ov
On Tuesday, April 29, 2014 2:53:18 PM UTC-5, Ádám Sándor wrote:
>
> I managed to solve the problem :) First we added more memory to the
> machine. With 1GB of memory the script ran further but still failed. In
> this case it became apparent that it's doing something with file
> permissions. It
On 2014-30-04 15:19, KomodoDave wrote:
So I guess no-one knows how to achieve this?
Suggest that you write rspec tests for your custom functions.
Just mimic what is done for the built in functions.
As an example of a simple function - look at
spec/unit/parser/functions/sprintf_spec.rb
- he
On Tuesday, April 29, 2014 11:37:02 AM UTC-5, Alex Scoble wrote:
>
> Hi John,
>
> Thanks so much for your feedback. It's extremely useful for me at this
> stage of my education in the Puppet DSL.
>
> Here is the Puppet Users group thread where R.I. Pienaar said that he felt
> that using create_
- Original Message -
> From: "jcbollinger"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, April 30, 2014 3:15:03 PM
> Subject: [Puppet Users] Re: Looking for a better way to use hiera hashes than
> create_resources
>
>
>
> On Tuesday, April 29, 2014 11:37:02 AM UTC-5, Alex Sc
Hi John,
Thanks for the info.
By the way, I started using the inherit pattern with params because of the
myriad of Splunk modules out there that do it, including this one from
Puppet Labs https://github.com/puppetlabs/puppetlabs-splunk
I understand why the pattern is used, it makes it a bit easi
Thanks, R.I.Pienaar,
I sometimes wonder how the moving target that is the Puppet DSL slows
adoption of the product.
I'll keep an eye on the future parser. Hopefully, it's in PE soon. Of
course, then I'll need to wait until someone creates a useful module that
shows how to use the pattern. I'm not
On Sunday, April 27, 2014 8:25:18 AM UTC-5, John Morton wrote:
>
> I made a module called resource_factory:
>
> https://forge.puppetlabs.com/jaydub/resource_factory
>
> It has two parts. One is the resource_factory class, the other is the
> defined_resource_factory resource type. They both do th
Hi all,
I have users module, which I don't control but include in my manifest to
setup user(s) on my system. This is something I have in one of the .pp
files:
class users::productupport {
> @group { 'productsupport':
> gid => '1553',
> }
> @produser { 'jake_s':
> use
On Tuesday, April 29, 2014 10:15:35 AM UTC-5, Christopher Wood wrote:
>
>
> Can't hosts already stagger their agent checkin times by using per-host
> runinterval settings?
>
>
No. Different agents with different runintervals will still all hit the
server at nearly the same time when they are
Did puppet hit a ulimit?
On Wed, Apr 30, 2014 at 8:44 AM, jcbollinger wrote:
>
>
> On Tuesday, April 29, 2014 2:53:18 PM UTC-5, Ádám Sándor wrote:
>>
>> I managed to solve the problem :) First we added more memory to the
>> machine. With 1GB of memory the script ran further but still failed. In
On Tue, Apr 29, 2014 at 5:45 PM, Joaquin Menchaca wrote:
> What is most important to me is to have the ability to set ACLS on
> existing resources, such as file, service, and registry (and other
> objects).
>
We are starting with file, once we have that solid, we'll accept other
target types -
ht
There is another option, mcollective.
Using cron is somewhat manual, and you have to determine whenever to run
puppet to avoid a thundering herd effect.
Mcollective lets you use the
Mco puppet runall
Where the concurrency sets how many agents run at the same time.
It is resielent as cron is,
I have a ruby custom fact that when queried with 'facter -p mysite'
displays as expected (eg TX), but if I do 'facter -p | grep mysite' it
shows up like ["MN"]. It will show up this wrong way when it goes to
puppetdb (whose data I view with puppetboard).
This custom fact only behaves this way o
On 4/30/14, 12:49 PM, José Luis Ledesma wrote:
> There is another option, mcollective.
>
> Using cron is somewhat manual, and you have to determine whenever to run
> puppet to avoid a thundering herd effect.
>
> Mcollective lets you use the
>
> Mco puppet runall
>
> Where the concurrency sets
I am new to puppet and am trying to figure out variable scoping. I have a
test module that I am using for this and it looks like this:
manifiests/init.pp:
class test {
include test::params
file { 'testfile' :
path => "/tmp/testfile",
content => template("test/testfile.erb"),
}
}
We just ran into this too recently. From my investigation it looks like the
syntax you quote above is for referencing Hiera values in Puppet manifests.
For erb templates we ended up using scope.function_hiera () although I
wonder now whether a scope.lookupvar () call would a) be better and b) be
be
As far as I know, the only reason you would use params.pp is if you have
sane defaults you want to pass to variables. When you do, you use:
class test inherits test::params {
}
for your init.pp. You don't use an include statement as far as I know.
However, because you aren't defining sane defau
By the way, if you are using Puppet 3.0.0 or newer you shouldn't need the
hiera() function at all.
Just call out your variables like so:
class test (
$a,
$b,
) {
file { 'testfile' :
path => "/tmp/testfile",
content => template("test/testfile.erb"),
}
}
In your hiera yaml it
On Wednesday, April 30, 2014 9:23:49 AM UTC-5, Alex Scoble wrote:
>
> Hi John,
>
> Thanks for the info.
>
> By the way, I started using the inherit pattern with params because of the
> myriad of Splunk modules out there that do it, including this one from
> Puppet Labs https://github.com/puppet
I'm using the phpvars lens for a cacti file, trying to set the password.
The file entry should look like:
$database_password = "testpass";
I can successfully set and save the password with quotes, while using
augtool:
augtool> set /files/usr/share/cacti/include/config.php/$database_password
"\"te
On Wednesday, April 30, 2014 1:31:03 PM UTC-5, drs wrote:
>
> I am new to puppet and am trying to figure out variable scoping. I have a
> test module that I am using for this and it looks like this:
>
> manifiests/init.pp:
>
> class test {
> include test::params
>
> file { 'testfile' :
>
On Wednesday, April 30, 2014 4:55:03 PM UTC-5, jcbollinger wrote:
>
>
> Note 1: Although declaring another class does not make its variables
> local, inheriting from another class does effectively do so. But use class
> inheritance for that purpose.
>
Critical correction: But DO NOT use clas
On Wednesday, April 30, 2014 2:43:07 PM UTC-5, Matthew Burgess wrote:
>
> We just ran into this too recently. From my investigation it looks like
> the syntax you quote above is for referencing Hiera values in Puppet
> manifests.
>
Nope, absolutely not. Templates have visibility into hiera on
On Wednesday, April 30, 2014 3:02:14 PM UTC-5, Alex Scoble wrote:
>
> By the way, if you are using Puppet 3.0.0 or newer you shouldn't need the
> hiera() function at all.
>
Not so fast. Automatic data binding does remove any *need* for writing
explicit hiera() calls (provided you are willing
On Wednesday, April 30, 2014 10:06:18 AM UTC-5, Sans wrote:
>
> Hi all,
>
> I have users module, which I don't control but include in my manifest to
> setup user(s) on my system. This is something I have in one of the .pp
> files:
>
> class users::productupport {
>> @group { 'productsupport
On 4/30/14, 11:06 AM, Sans wrote:
> Hi all,
>
> I have users module, which I don't control but include in my manifest to
> setup user(s) on my system. This is something I have in one of the .pp
> files:
>
> class users::productupport {
> @group { 'productsupport':
>
On Tuesday, March 11, 2014 7:44:58 AM UTC-4, Dirk Heinrichs wrote:
>
> Am 11.03.2014 10:17, schrieb Dirk Heinrichs:
>
> To do this, I've placed a simple text file "custom_facts.txt" into
> C:\ProgramData\PuppetLabs\facter\facts.d with content
>
> [facts]
> role = PuppetDev
>
>
> Got it to work
On 29 April 2014 04:12, Piotr Usewicz wrote:
> I think you have to enable pluginssync option in the [main] section in
> puppet.conf
I am pretty sure pluginsync is on by default in recent versions of puppet.
So unless you have disabled it it should work.
> On Wednesday, 11 April 2012 14:12:03 UT
Heh, John,
I said shouldn't need, not shouldn't use.
Thanks,
Alex
On Wed, Apr 30, 2014 at 3:12 PM, jcbollinger wrote:
>
>
> On Wednesday, April 30, 2014 3:02:14 PM UTC-5, Alex Scoble wrote:
>>
>> By the way, if you are using Puppet 3.0.0 or newer you shouldn't need the
>> hiera() function at
Have you looked at how the shell variable is generated on each server?
My guess would be it is different on each one.
It may pay to manage it so it is the same on both masters.
On 30 April 2014 19:17, Fabio Coatti wrote:
> Hi all,
> I spotted a behaviour that I can't really understand (pupept 3.
Apologies for the delay in responding - been on leave.
That is exactly the problem so thank you so much. I didn't know that you
had to add the class to the node as well. I thought from the main console
screen was sufficient.
Thanks again!
On Fri, Apr 11, 2014 at 11:52 PM, jcbollinger wrote:
Hi all,
I'm trying to mount a Windows file share on the Linux system. Changing
names are not possible as per client's policy. I'm trying with the code
below but presented with errors:
class nas_storage ($username, $password, $domain, $naslocation) {
#replace the \ with / and whitespace w
But when I do a puppet resource mount /mnt -e with the code below, it just
works. Why would it failed in a puppet agent run but not in a puppet
resource command?
mount { '/mnt':
ensure => 'mounted',
fstype => 'cifs',
device => '//10.200.206.83/Installation\040Media',
options=> 'credentia
41 matches
Mail list logo