Ask Your Question
0

Third Party/Alfresco silent installation module?

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

lalit gravatar image

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

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.

Thanks.

edit retag flag offensive close merge delete

Comments

What commands would be best fit for same.

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

1 Answer

Sort by ยป oldest newest most voted
0

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

Stefan gravatar image

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

create the following classes

alfresco::package

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/alfresco.sh is not yet present
exec { 'install_alfresco':
  command  => '/some/nas/share/install.sh --silent_config /path/to/your/answerfile',
  creates  => '/opt/alfresco/alfresco.sh',
  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

Comments

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 -0500 )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 -0500 )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 -0500 )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

Stats

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

Seen: 406 times

Last updated: Jan 22 '14