Sandip Shah
unread,May 13, 2014, 3:39:09 PM5/13/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to example42-pu...@googlegroups.com
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type apache::htpasswd at /data/environments/production/modules/vendor/nagios/manifes-server-third-party-module.novalocal
Here is the code base from GIT:
class nagios::prerequisites {
apache::htpasswd { 'nagiosadmin':
crypt_password => $nagios::nagiosadmin_password,
htpasswd_file => $nagios::htpasswdfile,
}
}
Here is my modulepath :
modulepath = /opt/puppet/share/puppet/modules:/data/environments/$environment/modules/rovi:/data/environments/$environment/modules/vendor:/data/environments/production/modules/vendor pluginsync=true
and listing of : /data/environments/production/modules/vendor , as you can see it has apache module already there.
\[root@puppetmaster vendor]# pwd
/data/environments/production/modules/vendor
[root@puppetmaster vendor]# ls -ltr
total 144
drwxr-xr-x. 6 root root 4096 Feb 21 08:02 nagios
drwxr-xr-x. 5 root root 4096 May 9 22:03 nrpe
drwxr-xr-x. 4 root root 4096 May 13 19:27 java_ks
drwxr-xr-x. 5 root root 4096 May 13 19:27 splunk
drwxr-xr-x. 7 root root 4096 May 13 19:27 concat
drwxr-xr-x. 4 root root 4096 May 13 19:27 wget
drwxr-xr-x. 10 root root 4096 May 13 19:28 mysql
drwxr-xr-x. 5 root root 4096 May 13 19:28 firewall
drwxr-xr-x. 8 root root 4096 May 13 19:28 rsyslog
drwxr-xr-x. 5 root root 4096 May 13 19:28 perl
drwxr-xr-x. 5 root root 4096 May 13 19:28 datacat
drwxr-xr-x. 7 root root 4096 May 13 19:28 logrotate
drwxr-xr-x. 6 root root 4096 May 13 19:28 cassandra
drwxr-xr-x. 8 root root 4096 May 13 19:28 ssh
drwxr-xr-x. 6 root root 4096 May 13 19:28 artifactory
drwxr-xr-x. 5 root root 4096 May 13 19:28 munin
drwxr-xr-x. 3 root root 4096 May 13 19:28 s3file
drwxr-xr-x. 6 root root 4096 May 13 19:29 epel
drwxr-xr-x. 9 root root 4096 May 13 19:29 mongodb
drwxr-xr-x. 8 root root 4096 May 13 19:29 apache
drwxr-xr-x. 5 root root 4096 May 13 19:30 java
drwxr-xr-x. 4 root root 4096 May 13 19:30 solr
drwxr-xr-x. 8 root root 4096 May 13 19:30 sudo
drwxr-xr-x. 6 root root 4096 May 13 19:30 activemq
drwxr-xr-x. 6 root root 4096 May 13 19:30 puppetdbquery
drwxr-xr-x. 4 root root 4096 May 13 19:30 erlang
drwxr-xr-x. 7 root root 4096 May 13 19:31 memcached
drwxr-xr-x. 8 root root 4096 May 13 19:31 mcollective
drwxr-xr-x. 6 root root 4096 May 13 19:31 zookeeper
drwxr-xr-x. 6 root root 4096 May 13 19:31 ntp
drwxr-xr-x. 9 root root 4096 May 13 19:31 rabbitmq
drwxr-xr-x. 7 root root 4096 May 13 19:32 puppi
drwxr-xr-x. 5 root root 4096 May 13 19:33 nfs
drwxr-xr-x. 8 root root 4096 May 13 19:33 apt
drwxr-xr-x. 6 root root 4096 May 13 19:33 nginx
drwxr-xr-x. 6 root root 4096 May 13 19:34 stdlib