search for: jsosic

Displaying 20 results from an estimated 26 matches for "jsosic".

Did you mean: sosic
2012 Dec 29
1
Puppet module for managing Cobbler
Module on forge: http://forge.puppetlabs.com/puppetlabs/apache Code and issue tracker: https://bitbucket.org/jsosic/puppet-cobbler Comments are welcome, hope somebody finds it useful. I''m very happy with it so far :D The reason I''m posting it is that couple of people asked me about publishing this module while I was in a process of developing it, so If those people are still reading the...
2012 Dec 27
3
generate() function help
Hi. I want to run script which is distributed with my module, but the problem is I have to then hardcode the path to the script in the generate function call, for example: generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript") But what If some other site uses other path to their modules, or doesn''t use environments at all? Is it possible
2010 Mar 26
0
Solaris 10 (update8) under Xen (RHEL v5.4)?
Hi. I am trying to run Solaris 10 under Xen but I have few problems. First of all, there are some weird errors while booting up system. Here is a screenshot: http://kosjenka.srce.hr/~jsosic/xen-solaris10u8.png Messages are these: WARNING: xdf: couldn''t write version WARNING: xdf: couldn''t write version WARNING: Disk is too large: Model QEMU HARDDISK Serial# QM00002 NOTICE: xdf@300: faile to read feature-barrier NOTICE: xdf@340: faile to read feature-barrier WARNING...
2012 Jun 18
8
Conditional with variable from facter
Hi. I have the following facts available: # facter | grep oper operatingsystem => CentOS operatingsystemrelease => 6.2 Now, if I wish to use conditionals on these facts, I have to do it like this: case $operatingsystem {} case $::operatingsystemrelease {} I''m puzzled as to why can''t I just use $operatingsystemrelease, and what do these two semicolons mean? Thank
2013 Feb 06
3
PuppetDB builtin backend performance?
Hi, I''m using PuppetDB with builtin backend, haven''t switched yet to postgresql, and I''m starting to see decrease in performance of my agent runs. I use PuppetDB solely because of exported resources support. How soon should I think about moving to PostgreSQL? How many clients does my master need to serve, so that PuppetDB in it''s default installation,
2013 Jul 13
10
username/password combo for custom provider (couchbase)
Hi, I''m trying to program custom type for managing Couchbase buckets. Problem is that every RW operation to Couchbase cluster (creating, deleting, resizing bucket) requires admin privileges (username/password). Do you have any suggestion how should I pass the username/password to provider? If I make it a param, then every resource of type ''couchbucket'' will need to
2012 Jun 14
2
Puppetmaster and two IP addresses?
I have a problem with puppet on a machine which has public and private IP address. My nodes are on private lan, and hostname of master is FQDN of the public IP. Client''s just cannot connect. Problem which I get is: err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I''ve added
2013 Mar 05
12
Boolean in hiera... problems again
Hi... I''ve been trying to set up boolean values in Hiera, but with no luck. For example, I''m using puppetlabs-haproxy module, and this is a code snippet: class haproxy ( $manage_service = true, ... ) inherits haproxy::params { ... if $manage_service { } } Now, this is how I set up values in hiera: haproxy::manage_service: false But, it seems that
2012 Nov 15
4
Can I create virtual resources with create_resources function
I am trying to add ability to add virtual users to the git://github.com/erwbgy/puppet-system.git module as I really want the ability to use virtual users and then combine that with "User <| group == ''x'' and group == ''y'' |>" way of realizing the users. This is much more flexible than what I can do with this module out of the box. Using the
2011 Aug 18
10
Circular RPM dependencies...
Hi. I encountered a following problem, if I state for example: package{"aspell-en": ensure => absent, } package{"aspell": ensure => absent, } I get error in logs because of dependencies. It seems that puppet uses ''yum'' for installation on CentOS and ''rpm -e'' for removal of packages, so it cannot handle this kind of dependencies:
2012 Dec 14
4
New Puppet User: Issues with pre-commit script
Hi Guys, I am new to puppet so please let me know if this is not the correct place for asking this question. I am setting up a new puppet environment running the latest 3.x version. I have the puppet master and client setup correctly and tested with deploying a simple file to the client. Now, I am working on adding all the configs to SVN since I will have all my users checkout the
2012 Sep 07
7
passenger-install-apache2-module fails
Hi I have installed passenger on many machine and this is my 3rd puppet master on CentOS 6. This one is giving me problems and I have been trying with different gem versions and still no go. When I run passenger-install-apache2-module I get this error: Sorry its really long so I copied to a text doc attached to this post. Any Idea on whats going wrong. I have not had a problem with this before
2012 Sep 30
22
in-module data with hiera
hello, Till now hiera-puppet was the only way I know that allowed hiera data to be loaded from inside a module. The problem with this was that it was still subject to the site specific hierarchy which means a module author had a pretty hard time to store his data in a proper way in his module thus perpetuating the use of the params classes pattern. Now that Puppet 3 is out and it''s gem
2013 Feb 08
9
RFC: Default File Permissions
Recently, the issue of copying file modes from remote sources was discussed on the puppet-users mailing list[1], although it equally applies to owner and group. One issue is what permissions to apply to newly created files when none are specified? Historically, Puppet has always copied the permissions from the file source to the newly created one. However, this causes problems on Windows[2]
2012 Oct 02
41
Puppet 3.0: Not authorized to call find on /file_metadata, more issues?
I''ve seen mention of this error in several places, with different causes. So before I posted here, I attempted to resolve this on my own. I corrected the change from puppet:///files to puppet:/// in my manifests *.pp files. No changes were made to the auth.conf file, and I did note in the ChangeLog that: Auth.conf differentiates between names and IPs – There’s a new allow_ip
2012 Nov 23
23
Puppet 3.0 Puppet labs repo package problem on rhel5
Hi, I''m having a weird issue and was wondering if anyone else had run into it. I recently upgraded from puppet 2.7 -> 3.0.1 After cleaning up some gems on my puppet master everything seemed to be working ok. I had originally used the EPEL repo''s to deploy puppet, but switched to the Puppet Labs repos so I could upgrade to 2.7 then 3. On RHEL5 only, I get a RSTRING_PTR
2016 Dec 14
1
TortoiseSVN over Samba4 corrupting working copies
Hi guys, I use samba to mount a share that has a SVN working copy of a big project. Problem is that with samba4 (tested on 4.0/4.1), working copies ever now and then get corrupted: svn: E200030: sqlite[S11]: database disk image is malformed But, when running samba 3 (tested on 3.5/3.6) it doesn't happen. Is there anything related to caching or delayed write in samba4 or something
2012 Oct 30
1
Joining domain without password?
Hi. Is it possible somehow to join a Linux machine to a AD Domain without providing any password on a CLI? So far, I've been joining machines purely by: # net ads joint -U Administrator%password But now, I'm trying to automatize the process through puppet, but don't know if it's possible somehow to join domain without using administrator (or any other) password? I can
2013 Jun 24
1
Deprecation notice on custom type?
Deprecation notice: Resource references should now be capitalized on line 101 in file /etc/puppet/manifests/templates/basenode.pp This is the specific line of code: realize (users::useraccount[hiera(''users'')]) When I capitalize Users, I get the following error: Error 400 on SERVER: Could not parse for environment production: Syntax error at
2013 Feb 25
2
defaultto in hash property not obeyed
Hi. I seem to have the following problem. This is a code from my custom type: newproperty(:kernel_options) do desc "Kernel options for installation boot." defaultto {} def insync?(is) # @should is an Array. see lib/puppet/type.rb insync? should = @should.first # if members of hashes are not the same, something # was added or removed from