Felix, Actually looking at that page and other examples via Google is what suggested the 'test' directory should exist. There seems to be a quite a few examples of how to install razor that all point to the same step, that does not appear to be correct.
David, I don't see any example of how to add the razor class in the instructions. The recommended documentation seems to assume you have extensive experience with puppet? What does the following line mean? "Then, on your Puppet master, add razor class to target node -- or just use puppet apply as normal:" ?? This is not well explained. When I try invoking install-with-apply.pp I get the following... # puppet apply /etc/puppet/modules/razor/examples/install-with-apply.pp --verbose Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults Error: unable to autodetect libarchive package name for your platform at /etc/puppet/modules/razor/manifests/libarchive.pp:23 on node puppet.domain.org Error: unable to autodetect libarchive package name for your platform at /etc/puppet/modules/razor/manifests/libarchive.pp:23 on node puppet.domain.org Since I am running Ubuntu 14.04? Looks like the manifests class to validate Linux distrubution is not yet updated? See the following... https://github.com/puppetlabs/puppetlabs-razor/blob/master/manifests/libarchive.pp class razor::libarchive { $libarchive_package = $operatingsystem ? { "Ubuntu" => $operatingsystemrelease ? { /^12/ => 'libarchive12', /^13/ => 'libarchive13', default => undef }, "Debian" => $operatingsystemmajrelease ? { '6' => 'libarchive1', '7' => 'libarchive12', default => 'libarchive13' }, # We need the unversioned .so, which comes from the dev package on these # platforms; without that FFI fails to load the library. This naturally # depends on the regular library package in yum. "Fedora" => 'libarchive-devel', "RedHat" => 'libarchive-devel', "CentOS" => 'libarchive-devel', default => undef } if ! $libarchive_package { fail("unable to autodetect libarchive package name for your platform") } package { $libarchive_package: ensure => latest } } On Friday, April 25, 2014 3:59:23 PM UTC-7, David Lutterkort wrote: > > Hi, > > have a look at https://forge.puppetlabs.com/puppetlabs/razor - that page > talks about the entire installation process beyond what just the module > does. > > David > > > On Tuesday, April 22, 2014 8:05:18 PM UTC-7, Schorschi Decker wrote: >> >> New to Puppet, but long term Linux user (CentOS, RHEL, Ubuntu, Debian - >> on Raspberry Pi). Installed Puppet, installed Razor module but >> /etc/puppet/modules/razer/test directory missing? Can not execute... >> >> # puppet apply /etc/puppet/modules/razor/tests/init.pp --verbose >> Error: Could not run: Could not find file >> /etc/puppet/modules/razor/tests/init.pp >> >> Environment... >> >> # uname -a >> Linux Puppet.domain.org 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 >> 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux >> >> # puppet status 0 >> {"is_alive":true,"version":"3.4.3"} >> >> # puppet module list >> /etc/puppet/modules >> ├── puppetlabs-java (v1.1.0) >> ├── puppetlabs-razor (v0.11.0) >> ├── puppetlabs-stdlib (v4.1.0) >> ├── puppetlabs-tftp (v0.2.1) >> └── puppetlabs-xinetd (v1.2.0) >> /usr/share/puppet/modules (no modules installed) >> >> # ls -l /etc/puppet/modules/razor >> total 52 >> drwxr-xr-x 2 puppet puppet 4096 Apr 22 19:25 bin >> -r--r--r-- 1 puppet puppet 9842 Dec 17 11:31 CHANGELOG >> -r--r--r-- 1 puppet puppet 985 Dec 17 11:31 CONTRIBUTORS >> drwxr-xr-x 2 puppet puppet 4096 Apr 22 19:25 examples >> drwxr-xr-x 2 puppet puppet 4096 Apr 22 19:25 files >> -r--r--r-- 1 puppet puppet 614 Dec 17 11:31 LICENSE >> drwxr-xr-x 2 puppet puppet 4096 Apr 22 19:25 manifests >> -r--r--r-- 1 puppet puppet 2104 Dec 17 11:31 metadata.json >> -r--r--r-- 1 puppet puppet 1622 Dec 17 11:31 Modulefile >> -r--r--r-- 1 puppet puppet 2940 Dec 17 11:31 README.md >> drwxr-xr-x 2 puppet puppet 4096 Dec 17 11:31 templates >> >> # find /opt | grep razor >> >> Does not appear razor is installing correctly? Tried Ubuntu based >> variant (3.4.3) and CentOS variant (3.5.1), both cases razor does not seem >> to install right? Any help appreciated. >> >> -- 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 web visit https://groups.google.com/d/msgid/puppet-users/56b19750-e783-4c39-bb5d-0be2ba9478ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.