Jira (PDB-849) puppetdb install from source after rake package:boostrap RuntimeError

2014-09-05 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel commented on an issue


















  Re: puppetdb install from source after rake package:boostrap RuntimeError 










just changed the packaging_url: 'git://github.com/puppetlabs/packaging.git --branch=0.3.0' in the build_defaults.yaml So I can test against package repo version 0.3.0 and I don't see this problem, could be something related to running execution.rb in


ruby 2.1.2p95


rake 10.1.0


because branch 0.3.0 doesn't have the execution.rb












   

 Add Comment

























 PuppetDB /  PDB-849



  puppetdb install from source after rake package:boostrap RuntimeError 







 I'm building an archlinux package for puppetdb,  Installation commands are:  1. rake clean  2. rake package:bootstrap  3: rake install PARAMS_FILE= DESTDIR=${pkgdir}   On 3 it gives me a RuntimeError:  rake aborted!  RuntimeError  Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util/execution.rb:27:in `ex'  Development/p...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




   

Jira (FACT-697) If NetworkManager is installed but not used facter throws a warning.

2014-09-04 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel commented on an issue


















  Re: If NetworkManager is installed but not used facter throws a warning. 










I can confirm that facter requires NetworkManager managing the network
On my archlinux box facter it will give the following error: Error: NetworkManager is not running.
and on the commandline:
[root]# nmcli d Error: NetworkManager is not running.
I'm using systemd-networkd for my networks.












   

 Add Comment

























 Facter /  FACT-697



  If NetworkManager is installed but not used facter throws a warning. 







 If the NetworkManager package is installed, but not used, facter throws a warning.   {code}  [sedge@bi ~]$ facter   ** (process:29822): WARNING **: nm_client_get_devices: error getting devices: The name org.freedesktop.NetworkManager was not provided by any .service files   architecture = x86_64  augeasversion = 1.0.0  ... etc ...  {code}   It appea...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the 

Jira (PDB-849) puppetdb install from source after rake package:boostrap RuntimeError

2014-08-30 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel created an issue


















 PuppetDB /  PDB-849



  puppetdb install from source after rake package:boostrap RuntimeError 










Issue Type:

  Bug




Affects Versions:


 2.2.0




Assignee:


 Unassigned




Created:


 30/Aug/14 5:44 AM




Environment:


Archlinux: ruby 2.1.2p95 leiningen-2.4.3 puppet 3.6.2




Priority:

  Normal




Reporter:

 Niels Abspoel










I'm building an archlinux package for puppetdb, Installation commands are: 1. rake clean 2. rake package:bootstrap 3: rake install PARAMS_FILE= DESTDIR=$ {pkgdir}
On 3 it gives me a RuntimeError: rake aborted! RuntimeError Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util/execution.rb:27:in `ex' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util/version.rb:18:in `block in git_tagged?' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util.rb:29:in `call' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util.rb:29:in `block in in_project_root' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util.rb:28:in `chdir' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util.rb:28:in `in_project_root' Development/packages/aur-puppetdb/src/puppetdb-2.2.0/ext/packaging/lib/packaging/util/version.rb:17:in `git_tagged?' 

Jira (PDB-673) puppetdb installation ignores libexecdir on archlinux

2014-05-19 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel commented on an issue


















  Re: puppetdb installation ignores libexecdir on archlinux 










Hi Kenneth,
I found the fix for the problem building the puppetdb package on archlinux from tarball: step 1:  I need to clean the ext/files and pkg directories, these contain the wrong puppetdb binaries: rake clean



fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: Existing rake commands are untested on 2.1 currently supported rubies include 1.8 or 1.9
rm -rf ext/files pkg



step 2: recreate the ext/files and pkg directories  rake package:bootstrap



fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: Existing rake commands are untested on 2.1 currently supported rubies include 1.8 or 1.9
cd ext
Cloning into 'packaging'...
remote: Reusing existing pack: 4049, done.
remote: Total 4049 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (4049/4049), 1.10 MiB | 439.00 KiB/s, done.
Resolving deltas: 100% (2004/2004), done.
Checking connectivity... done.
cd -



and then I can run the normal installation rake install DESTDIR, etc.
and the result is the right environment on Archlinux.












   

 Add Comment

























 PuppetDB /  PDB-673



  puppetdb installation ignores libexecdir on archlinux 







  

Jira (PDB-673) puppetdb installation ignores libexecdir on archlinux

2014-05-17 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel created an issue


















 PuppetDB /  PDB-673



  puppetdb installation ignores libexecdir on archlinux 










Issue Type:

  Bug




Affects Versions:


 2.0.0




Assignee:


 Unassigned




Created:


 17/May/14 2:33 AM




Environment:


archlinux ruby 2.1.0




Priority:

  Normal




Reporter:

 Niels Abspoel










Building puppetdb package on archlinux with
rake package:bootstrap rake install PARAMS_FILE= DESTDIR=$ {pkgdir}
This provides /usr/bin/puppetdb which looks in libexec dir: /usr/libexec/puppetdb instead of /usr/lib/puppetdb.
Archlinux doesn't have /usr/libexec.
If I read correctly this should be set the the template task but it looks like this isn't run on Archlinux.
Need help debugging this.












   


Jira (PDB-673) puppetdb installation ignores libexecdir on archlinux

2014-05-17 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel updated an issue


















 PuppetDB /  PDB-673



  puppetdb installation ignores libexecdir on archlinux 










This is the complete PKGBUILD I use for creating an Archlinux package.
I would like to remove the lines 40-43, that way it would be easier for archlinux to adopt this in the community repo and provide puppet and puppetdb out of the box.










Change By:

 Niels Abspoel




Attachment:

 PKGBUILD












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-673) puppetdb installation ignores libexecdir on archlinux

2014-05-17 Thread Niels Abspoel (JIRA)
Title: Message Title










 

 Niels Abspoel commented on an issue


















  Re: puppetdb installation ignores libexecdir on archlinux 










Hi Kenneth,
I see the variables, and they seem to get the files in the right place, except for inside the file: /usr/sbin/puppetdb
I think you got a point in the last paragraph:
the binary isn't using /usr/lib/puppetdb it points to /usr/libexec/puppetdb
This is strange because of: https://github.com/puppetlabs/puppetdb/blob/master/tasks/template.rake#L16
It looks like it doesn't use this part.. even debian builds libexec dir, and it isn't in the install file: https://github.com/puppetlabs/puppetdb/blob/master/Rakefile#L91-L98
:q!












   

 Add Comment

























 PuppetDB /  PDB-673



  puppetdb installation ignores libexecdir on archlinux 







 Building puppetdb package on archlinux with   rake package:bootstrap  rake install PARAMS_FILE= DESTDIR=${pkgdir}   This provides /usr/bin/puppetdb which looks in libexec dir: /usr/libexec/puppetdb instead of /usr/lib/puppetdb.   Archlinux doesn't have /usr/libexec.   If I read correctly this should be set the the template task but it looks like this ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)