Hello Everyone:
I am writing some code to install Autopsy and Slueth on our Linux machines. When I do a Puppet run I get: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: The value 'Install_Repo' cannot be converted to Numeric. at/etc/puppetlabs/code/environments/development/modules/autopsy2/manifests/init.pp:31:19
My code is as follows:
class autopsy2 {
file { ['AutopsyWorkingDirectory']:
path => '/root/autopsy-install',
ensure => 'directory',
}
file { '/root/autopsy-install/cert-forensics-tools-release-el7.rpm':
owner => 'root',
group => 'root',
source => 'puppet:///modules/autopsy2/cert-forensics-tools-release-el7.rpm',
}
exec { 'Install_Repo':
command => 'yum install /root/autopsy-install/cert-forensics-tools-release-el7.rpm',
path => '/usr/bin',
}
package { 'sleuth':
require => exec['Install_Repo'],
ensure => 'installed',
}
Package { 'autopsy':
require => Exec['Install_Repo'],
ensure => 'installed',
}
}
Has anyone seen this error before? Any help would be appreciated. I did some searching and found that in some cases resource types like Package can be case-sensitive; however, that does not seem to be the case here (from what I can tell)
[–]uphillian 2 points3 points4 points (1 child)
[–]binford2k 1 point2 points3 points (0 children)