Ask Your Question

Third Party/Alfresco silent installation module?

asked 2014-01-22 05:31:07 -0600

lalit gravatar image

updated 2014-01-22 05:45:12 -0600

Hi All,

I am installing alfresco content management silently using option-file provided by same. Now i want to automate following steps using puppet:

  1. Automatically installing alfresco silently (binary) without any user intervention.
  2. This installation will take all parameters from a text file stored at same place.
  3. I have couple of extra files to be placed in alfresco folder after installation such as binary files.
  4. Installing & setting up MySQL db.
  5. Finally running alfresco & MySQL.

Please advise.


edit retag flag offensive close merge delete


What commands would be best fit for same.

lalit gravatar imagelalit ( 2014-01-22 05:33:16 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-22 12:58:22 -0600

Stefan gravatar image

I don't know anything about alfresco but here is the basic sketch that I'd use:

create the following classes


In this class you create the answerfile via a file resource and a template and use an exec resource to install the application similar to this example:

# Only run the installation if /opt/alfresco/ is not yet present
exec { 'install_alfresco':
  command  => '/some/nas/share/ --silent_config /path/to/your/answerfile',
  creates  => '/opt/alfresco/',
  requires => File['/path/to/your/answerfile'],

alternative: Build your own package for your native package manager and use a ... (more)

edit flag offensive delete link more


Thanks, but i am having a binary file alfresco*.bin which is giving me error as below while i am running it. Any idea? Error: Failed to apply catalog: Validation ...(more)

lalit gravatar imagelalit ( 2014-01-23 05:17:52 -0600 )edit

The `puppet://` url is specific to the file type and no other resource type supports it. The exec resource can only execute a script that is already on your client ...(more)

Stefan gravatar imageStefan ( 2014-01-23 15:22:07 -0600 )edit

I am trying to create a module where it has all the binaries/files for installation and this module sits in master node under /modules folder. Now when agent tries ...(more)

lalit gravatar imagelalit ( 2014-01-23 21:30:16 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-22 05:31:07 -0600

Seen: 423 times

Last updated: Jan 22 '14