amazon ec2 - Failed to fetch ec2 uri http://169.254.169.254/ -


i have simple puppet manifest

class javaora(include ::archive) {   group { 'serviceusrgroup':     name   => 'serviceusrgroup',     ensure => 'present',   }    user { 'jersey':     name    => 'jersey',     home    => '/home/jersey',     gid     => 'serviceusrgroup',     comment => 'user run servers',   }    file { ['/usrdata/archive', '/usrdata/apps/java']: ensure => 'directory' }    archive { "/usrdata/archive/${tomcat::jreversion}":     ensure       => present,     extract      => true,     extract_path => '/usrdata/apps/java',     source       => $tomcat::jredownload,     creates      => "/usrdata/apps/java/${tomcat::jdkversion}"   } 

i getting error failed fetch ec2 uri http://169.254.169.254/latest/meta-data/:403 forbidden

it gives me error at line 2 : syntax error near include ; expected ")"


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -