{"action":"created","issue":{"url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/6","repository_url":"https://api.github.com/repos/andskli/puppet-netbackup","labels_url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/6/comments","events_url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/6/events","html_url":"https://github.com/andskli/puppet-netbackup/issues/6","id":236865540,"number":6,"title":"expect /tmp/install_netbackup_client.expect returns 1 instead of 0","user":{"login":"SohamChakraborty","id":2478694,"avatar_url":"https://avatars1.githubusercontent.com/u/2478694?v=3","gravatar_id":"","url":"https://api.github.com/users/SohamChakraborty","html_url":"https://github.com/SohamChakraborty","followers_url":"https://api.github.com/users/SohamChakraborty/followers","following_url":"https://api.github.com/users/SohamChakraborty/following{/other_user}","gists_url":"https://api.github.com/users/SohamChakraborty/gists{/gist_id}","starred_url":"https://api.github.com/users/SohamChakraborty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SohamChakraborty/subscriptions","organizations_url":"https://api.github.com/users/SohamChakraborty/orgs","repos_url":"https://api.github.com/users/SohamChakraborty/repos","events_url":"https://api.github.com/users/SohamChakraborty/events{/privacy}","received_events_url":"https://api.github.com/users/SohamChakraborty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-19T11:49:29Z","updated_at":"2017-06-20T11:28:36Z","closed_at":"2017-06-20T05:21:10Z","body":"Hi,\r\n\r\nNot sure if this is a stupid mistake from my side. But here is the full story.\r\n\r\nI am trying to update the client from a previous version to a new version and have modified the $version to the new version. Right now, my manifest looks like this:\r\n\r\n```\r\nclass profiles::netbackup {\r\n\r\n  class { 'netbackup::client':\r\n    installer => '/opt/NetBackup_7.7.3_CLIENTS2/install',\r\n    version => '7.7.3',\r\n    service_enabled => true,\r\n    masterserver => 'my-master-server',\r\n    mediaservers => [ an array of mediaservers],\r\n  }\r\n}\r\n```\r\n\r\nWhen I run `puppet agent -t` on a client node, I am getting the following error:\r\n\r\n```\r\nDebug: Exec[run-netbackup-install](provider=posix): Executing check 'grep 7.7.3 /usr/openv/netbackup/bin/version'\r\nDebug: Executing 'grep 7.7.3 /usr/openv/netbackup/bin/version'\r\nDebug: Exec[run-netbackup-install](provider=posix): Executing 'expect /tmp/install_netbackup_client.expect'\r\nDebug: Executing 'expect /tmp/install_netbackup_client.expect'\r\nNotice: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns: spawn /tmp/NetBackup_7.7.3_CLIENTS2/install\r\nNotice: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns: couldn't execute \"/tmp/NetBackup_7.7.3_CLIENTS2/install\": no such file or directory\r\nNotice: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns:     while executing\r\nNotice: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns: \"spawn /tmp/NetBackup_7.7.3_CLIENTS2/install\"\r\nNotice: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns:     (file \"/tmp/install_netbackup_client.expect\" line 4)\r\nError: expect /tmp/install_netbackup_client.expect returned 1 instead of one of [0]\r\nError: /Stage[main]/Netbackup::Client::Install/Exec[run-netbackup-install]/returns: change from notrun to 0 failed: expect /tmp/install_netbackup_client.expect returned 1 instead of one of [0]\r\nNotice: /Stage[main]/Netbackup::Client::Config/File[bp.conf]: Dependency Exec[run-netbackup-install] has failures: true\r\nWarning: /Stage[main]/Netbackup::Client::Config/File[bp.conf]: Skipping because of failed dependencies\r\nNotice: /Stage[main]/Netbackup::Client::Config/Service[netbackup-client]: Dependency Exec[run-netbackup-install] has failures: true\r\nWarning: /Stage[main]/Netbackup::Client::Config/Service[netbackup-client]: Skipping because of failed dependencies\r\n```\r\nAm I missing any dependency? Any way to find out why it is failing? \r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/comments/309724844","html_url":"https://github.com/andskli/puppet-netbackup/issues/6#issuecomment-309724844","issue_url":"https://api.github.com/repos/andskli/puppet-netbackup/issues/6","id":309724844,"user":{"login":"andskli","id":511374,"avatar_url":"https://avatars0.githubusercontent.com/u/511374?v=3","gravatar_id":"","url":"https://api.github.com/users/andskli","html_url":"https://github.com/andskli","followers_url":"https://api.github.com/users/andskli/followers","following_url":"https://api.github.com/users/andskli/following{/other_user}","gists_url":"https://api.github.com/users/andskli/gists{/gist_id}","starred_url":"https://api.github.com/users/andskli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andskli/subscriptions","organizations_url":"https://api.github.com/users/andskli/orgs","repos_url":"https://api.github.com/users/andskli/repos","events_url":"https://api.github.com/users/andskli/events{/privacy}","received_events_url":"https://api.github.com/users/andskli/received_events","type":"User","site_admin":false},"created_at":"2017-06-20T11:28:36Z","updated_at":"2017-06-20T11:28:36Z","body":"What @stivesso just said, is the exact reason why I decided to rely on NFS from the beginning when creating this module."}}
{"actor":{"display_login":"andskli"}}